Class NodeStatusPubSub

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.pubsub.v1.NodeStatusPubSub
All Implemented Interfaces:
NodeStatusPubSubOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class NodeStatusPubSub extends com.google.protobuf.GeneratedMessageV3 implements NodeStatusPubSubOrBuilder
 InstanceUsage is a message that represents the usage of a single instance.
 
Protobuf type chalk.pubsub.v1.NodeStatusPubSub
See Also:
  • Field Details

    • TEAM_FIELD_NUMBER

      public static final int TEAM_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
    • INSTANCE_TYPE_FIELD_NUMBER

      public static final int INSTANCE_TYPE_FIELD_NUMBER
      See Also:
    • REGION_FIELD_NUMBER

      public static final int REGION_FIELD_NUMBER
      See Also:
    • ZONE_FIELD_NUMBER

      public static final int ZONE_FIELD_NUMBER
      See Also:
    • CREATION_TIMESTAMP_FIELD_NUMBER

      public static final int CREATION_TIMESTAMP_FIELD_NUMBER
      See Also:
    • DELETION_TIMESTAMP_FIELD_NUMBER

      public static final int DELETION_TIMESTAMP_FIELD_NUMBER
      See Also:
    • OBSERVED_TIMESTAMP_FIELD_NUMBER

      public static final int OBSERVED_TIMESTAMP_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • ANNOTATIONS_FIELD_NUMBER

      public static final int ANNOTATIONS_FIELD_NUMBER
      See Also:
    • MACHINE_ID_FIELD_NUMBER

      public static final int MACHINE_ID_FIELD_NUMBER
      See Also:
    • SYSTEM_UUID_FIELD_NUMBER

      public static final int SYSTEM_UUID_FIELD_NUMBER
      See Also:
    • BOOT_ID_FIELD_NUMBER

      public static final int BOOT_ID_FIELD_NUMBER
      See Also:
    • UNSCHEDULABLE_FIELD_NUMBER

      public static final int UNSCHEDULABLE_FIELD_NUMBER
      See Also:
    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
    • INSTANCE_ID_FIELD_NUMBER

      public static final int INSTANCE_ID_FIELD_NUMBER
      See Also:
    • CLUSTER_FIELD_NUMBER

      public static final int CLUSTER_FIELD_NUMBER
      See Also:
    • TOTAL_CPU_FIELD_NUMBER

      public static final int TOTAL_CPU_FIELD_NUMBER
      See Also:
    • TOTAL_MEMORY_FIELD_NUMBER

      public static final int TOTAL_MEMORY_FIELD_NUMBER
      See Also:
    • ALLOCATABLE_CPU_FIELD_NUMBER

      public static final int ALLOCATABLE_CPU_FIELD_NUMBER
      See Also:
    • ALLOCATABLE_MEMORY_FIELD_NUMBER

      public static final int ALLOCATABLE_MEMORY_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getTeam

      public String getTeam()
       The Chalk team name that incurred the usage.
       
      string team = 1 [json_name = "team"];
      Specified by:
      getTeam in interface NodeStatusPubSubOrBuilder
      Returns:
      The team.
    • getTeamBytes

      public com.google.protobuf.ByteString getTeamBytes()
       The Chalk team name that incurred the usage.
       
      string team = 1 [json_name = "team"];
      Specified by:
      getTeamBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for team.
    • getName

      public String getName()
       node.Name
       
      string name = 2 [json_name = "name"];
      Specified by:
      getName in interface NodeStatusPubSubOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       node.Name
       
      string name = 2 [json_name = "name"];
      Specified by:
      getNameBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for name.
    • getUid

      public String getUid()
       node.UID
       
      string uid = 3 [json_name = "uid"];
      Specified by:
      getUid in interface NodeStatusPubSubOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       node.UID
       
      string uid = 3 [json_name = "uid"];
      Specified by:
      getUidBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for uid.
    • getInstanceType

      public String getInstanceType()
       node.kubernetes.io/instance-type
       
      string instance_type = 4 [json_name = "instanceType"];
      Specified by:
      getInstanceType in interface NodeStatusPubSubOrBuilder
      Returns:
      The instanceType.
    • getInstanceTypeBytes

      public com.google.protobuf.ByteString getInstanceTypeBytes()
       node.kubernetes.io/instance-type
       
      string instance_type = 4 [json_name = "instanceType"];
      Specified by:
      getInstanceTypeBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for instanceType.
    • getRegion

      public String getRegion()
       topology.kubernetes.io/region
       
      string region = 5 [json_name = "region"];
      Specified by:
      getRegion in interface NodeStatusPubSubOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       topology.kubernetes.io/region
       
      string region = 5 [json_name = "region"];
      Specified by:
      getRegionBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for region.
    • getZone

      public String getZone()
       topology.kubernetes.io/zone
       
      string zone = 6 [json_name = "zone"];
      Specified by:
      getZone in interface NodeStatusPubSubOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       topology.kubernetes.io/zone
       
      string zone = 6 [json_name = "zone"];
      Specified by:
      getZoneBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for zone.
    • getCreationTimestamp

      public long getCreationTimestamp()
       The time that the instance was created.
       node.CreationTimestamp.Unix()
       
      int64 creation_timestamp = 8 [json_name = "creationTimestamp", (.gen_bq_schema.bigquery) = { ... }
      Specified by:
      getCreationTimestamp in interface NodeStatusPubSubOrBuilder
      Returns:
      The creationTimestamp.
    • getDeletionTimestamp

      public long getDeletionTimestamp()
       node.DeletionTimestamp.Unix()
       The time that the instance was deleted. May be 0 if the instance is still running.
       
      int64 deletion_timestamp = 9 [json_name = "deletionTimestamp", (.gen_bq_schema.bigquery) = { ... }
      Specified by:
      getDeletionTimestamp in interface NodeStatusPubSubOrBuilder
      Returns:
      The deletionTimestamp.
    • getObservedTimestamp

      public long getObservedTimestamp()
       The time that we polled the instance for usage.
       
      int64 observed_timestamp = 10 [json_name = "observedTimestamp", (.gen_bq_schema.bigquery) = { ... }
      Specified by:
      getObservedTimestamp in interface NodeStatusPubSubOrBuilder
      Returns:
      The observedTimestamp.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: NodeStatusPubSubOrBuilder
       node.Labels
       
      map<string, string> labels = 11 [json_name = "labels"];
      Specified by:
      getLabelsCount in interface NodeStatusPubSubOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       node.Labels
       
      map<string, string> labels = 11 [json_name = "labels"];
      Specified by:
      containsLabels in interface NodeStatusPubSubOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface NodeStatusPubSubOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       node.Labels
       
      map<string, string> labels = 11 [json_name = "labels"];
      Specified by:
      getLabelsMap in interface NodeStatusPubSubOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       node.Labels
       
      map<string, string> labels = 11 [json_name = "labels"];
      Specified by:
      getLabelsOrDefault in interface NodeStatusPubSubOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       node.Labels
       
      map<string, string> labels = 11 [json_name = "labels"];
      Specified by:
      getLabelsOrThrow in interface NodeStatusPubSubOrBuilder
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: NodeStatusPubSubOrBuilder
       node.Annotations
       
      map<string, string> annotations = 12 [json_name = "annotations"];
      Specified by:
      getAnnotationsCount in interface NodeStatusPubSubOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       node.Annotations
       
      map<string, string> annotations = 12 [json_name = "annotations"];
      Specified by:
      containsAnnotations in interface NodeStatusPubSubOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface NodeStatusPubSubOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       node.Annotations
       
      map<string, string> annotations = 12 [json_name = "annotations"];
      Specified by:
      getAnnotationsMap in interface NodeStatusPubSubOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       node.Annotations
       
      map<string, string> annotations = 12 [json_name = "annotations"];
      Specified by:
      getAnnotationsOrDefault in interface NodeStatusPubSubOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       node.Annotations
       
      map<string, string> annotations = 12 [json_name = "annotations"];
      Specified by:
      getAnnotationsOrThrow in interface NodeStatusPubSubOrBuilder
    • getMachineId

      public String getMachineId()
      string machine_id = 13 [json_name = "machineId"];
      Specified by:
      getMachineId in interface NodeStatusPubSubOrBuilder
      Returns:
      The machineId.
    • getMachineIdBytes

      public com.google.protobuf.ByteString getMachineIdBytes()
      string machine_id = 13 [json_name = "machineId"];
      Specified by:
      getMachineIdBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for machineId.
    • getSystemUuid

      public String getSystemUuid()
      string system_uuid = 14 [json_name = "systemUuid"];
      Specified by:
      getSystemUuid in interface NodeStatusPubSubOrBuilder
      Returns:
      The systemUuid.
    • getSystemUuidBytes

      public com.google.protobuf.ByteString getSystemUuidBytes()
      string system_uuid = 14 [json_name = "systemUuid"];
      Specified by:
      getSystemUuidBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for systemUuid.
    • getBootId

      public String getBootId()
      string boot_id = 15 [json_name = "bootId"];
      Specified by:
      getBootId in interface NodeStatusPubSubOrBuilder
      Returns:
      The bootId.
    • getBootIdBytes

      public com.google.protobuf.ByteString getBootIdBytes()
      string boot_id = 15 [json_name = "bootId"];
      Specified by:
      getBootIdBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for bootId.
    • getUnschedulable

      public boolean getUnschedulable()
      bool unschedulable = 16 [json_name = "unschedulable"];
      Specified by:
      getUnschedulable in interface NodeStatusPubSubOrBuilder
      Returns:
      The unschedulable.
    • getNamespace

      public String getNamespace()
      string namespace = 17 [json_name = "namespace"];
      Specified by:
      getNamespace in interface NodeStatusPubSubOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 17 [json_name = "namespace"];
      Specified by:
      getNamespaceBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for namespace.
    • getInstanceId

      public String getInstanceId()
       container.googleapis.com/instance_id
       
      string instance_id = 18 [json_name = "instanceId"];
      Specified by:
      getInstanceId in interface NodeStatusPubSubOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
       container.googleapis.com/instance_id
       
      string instance_id = 18 [json_name = "instanceId"];
      Specified by:
      getInstanceIdBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for instanceId.
    • getCluster

      public String getCluster()
      string cluster = 19 [json_name = "cluster"];
      Specified by:
      getCluster in interface NodeStatusPubSubOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
      string cluster = 19 [json_name = "cluster"];
      Specified by:
      getClusterBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for cluster.
    • getTotalCpu

      public String getTotalCpu()
      string total_cpu = 20 [json_name = "totalCpu"];
      Specified by:
      getTotalCpu in interface NodeStatusPubSubOrBuilder
      Returns:
      The totalCpu.
    • getTotalCpuBytes

      public com.google.protobuf.ByteString getTotalCpuBytes()
      string total_cpu = 20 [json_name = "totalCpu"];
      Specified by:
      getTotalCpuBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for totalCpu.
    • getTotalMemory

      public String getTotalMemory()
      string total_memory = 21 [json_name = "totalMemory"];
      Specified by:
      getTotalMemory in interface NodeStatusPubSubOrBuilder
      Returns:
      The totalMemory.
    • getTotalMemoryBytes

      public com.google.protobuf.ByteString getTotalMemoryBytes()
      string total_memory = 21 [json_name = "totalMemory"];
      Specified by:
      getTotalMemoryBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for totalMemory.
    • getAllocatableCpu

      public String getAllocatableCpu()
      string allocatable_cpu = 22 [json_name = "allocatableCpu"];
      Specified by:
      getAllocatableCpu in interface NodeStatusPubSubOrBuilder
      Returns:
      The allocatableCpu.
    • getAllocatableCpuBytes

      public com.google.protobuf.ByteString getAllocatableCpuBytes()
      string allocatable_cpu = 22 [json_name = "allocatableCpu"];
      Specified by:
      getAllocatableCpuBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for allocatableCpu.
    • getAllocatableMemory

      public String getAllocatableMemory()
      string allocatable_memory = 23 [json_name = "allocatableMemory"];
      Specified by:
      getAllocatableMemory in interface NodeStatusPubSubOrBuilder
      Returns:
      The allocatableMemory.
    • getAllocatableMemoryBytes

      public com.google.protobuf.ByteString getAllocatableMemoryBytes()
      string allocatable_memory = 23 [json_name = "allocatableMemory"];
      Specified by:
      getAllocatableMemoryBytes in interface NodeStatusPubSubOrBuilder
      Returns:
      The bytes for allocatableMemory.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NodeStatusPubSub parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeStatusPubSub parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeStatusPubSub parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeStatusPubSub parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeStatusPubSub parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeStatusPubSub parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeStatusPubSub parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeStatusPubSub parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeStatusPubSub parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeStatusPubSub parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeStatusPubSub parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeStatusPubSub parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NodeStatusPubSub.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NodeStatusPubSub.Builder newBuilder()
    • newBuilder

      public static NodeStatusPubSub.Builder newBuilder(NodeStatusPubSub prototype)
    • toBuilder

      public NodeStatusPubSub.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NodeStatusPubSub.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static NodeStatusPubSub getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NodeStatusPubSub> parser()
    • getParserForType

      public com.google.protobuf.Parser<NodeStatusPubSub> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public NodeStatusPubSub getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder