Package ai.chalk.protos.chalk.pubsub.v1
Class NodeStatusPubSub.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
ai.chalk.protos.chalk.pubsub.v1.NodeStatusPubSub.Builder
- All Implemented Interfaces:
NodeStatusPubSubOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NodeStatusPubSub
public static final class NodeStatusPubSub.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
implements NodeStatusPubSubOrBuilder
InstanceUsage is a message that represents the usage of a single instance.Protobuf type
chalk.pubsub.v1.NodeStatusPubSub-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()string allocatable_cpu = 22 [json_name = "allocatableCpu"];string allocatable_memory = 23 [json_name = "allocatableMemory"];string boot_id = 15 [json_name = "bootId"];string cluster = 19 [json_name = "cluster"];The time that the instance was created.node.DeletionTimestamp.Unix() The time that the instance was deleted.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) container.googleapis.com/instance_idnode.kubernetes.io/instance-typestring machine_id = 13 [json_name = "machineId"];node.Namestring namespace = 17 [json_name = "namespace"];The time that we polled the instance for usage.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) topology.kubernetes.io/regionstring system_uuid = 14 [json_name = "systemUuid"];The Chalk team name that incurred the usage.string total_cpu = 20 [json_name = "totalCpu"];string total_memory = 21 [json_name = "totalMemory"];clearUid()node.UIDbool unschedulable = 16 [json_name = "unschedulable"];topology.kubernetes.io/zoneclone()booleannode.AnnotationsbooleancontainsLabels(String key) node.Labelsstring allocatable_cpu = 22 [json_name = "allocatableCpu"];com.google.protobuf.ByteStringstring allocatable_cpu = 22 [json_name = "allocatableCpu"];string allocatable_memory = 23 [json_name = "allocatableMemory"];com.google.protobuf.ByteStringstring allocatable_memory = 23 [json_name = "allocatableMemory"];Deprecated.intnode.Annotationsnode.AnnotationsgetAnnotationsOrDefault(String key, String defaultValue) node.Annotationsnode.Annotationsstring boot_id = 15 [json_name = "bootId"];com.google.protobuf.ByteStringstring boot_id = 15 [json_name = "bootId"];string cluster = 19 [json_name = "cluster"];com.google.protobuf.ByteStringstring cluster = 19 [json_name = "cluster"];longThe time that the instance was created.longnode.DeletionTimestamp.Unix() The time that the instance was deleted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcontainer.googleapis.com/instance_idcom.google.protobuf.ByteStringcontainer.googleapis.com/instance_idnode.kubernetes.io/instance-typecom.google.protobuf.ByteStringnode.kubernetes.io/instance-typeDeprecated.intnode.Labelsnode.LabelsgetLabelsOrDefault(String key, String defaultValue) node.LabelsgetLabelsOrThrow(String key) node.Labelsstring machine_id = 13 [json_name = "machineId"];com.google.protobuf.ByteStringstring machine_id = 13 [json_name = "machineId"];Deprecated.Deprecated.getName()node.Namecom.google.protobuf.ByteStringnode.Namestring namespace = 17 [json_name = "namespace"];com.google.protobuf.ByteStringstring namespace = 17 [json_name = "namespace"];longThe time that we polled the instance for usage.topology.kubernetes.io/regioncom.google.protobuf.ByteStringtopology.kubernetes.io/regionstring system_uuid = 14 [json_name = "systemUuid"];com.google.protobuf.ByteStringstring system_uuid = 14 [json_name = "systemUuid"];getTeam()The Chalk team name that incurred the usage.com.google.protobuf.ByteStringThe Chalk team name that incurred the usage.string total_cpu = 20 [json_name = "totalCpu"];com.google.protobuf.ByteStringstring total_cpu = 20 [json_name = "totalCpu"];string total_memory = 21 [json_name = "totalMemory"];com.google.protobuf.ByteStringstring total_memory = 21 [json_name = "totalMemory"];getUid()node.UIDcom.google.protobuf.ByteStringnode.UIDbooleanbool unschedulable = 16 [json_name = "unschedulable"];getZone()topology.kubernetes.io/zonecom.google.protobuf.ByteStringtopology.kubernetes.io/zoneprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(NodeStatusPubSub other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final NodeStatusPubSub.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllAnnotations(Map<String, String> values) node.AnnotationsputAllLabels(Map<String, String> values) node.LabelsputAnnotations(String key, String value) node.Annotationsnode.LabelsremoveAnnotations(String key) node.AnnotationsremoveLabels(String key) node.LabelssetAllocatableCpu(String value) string allocatable_cpu = 22 [json_name = "allocatableCpu"];setAllocatableCpuBytes(com.google.protobuf.ByteString value) string allocatable_cpu = 22 [json_name = "allocatableCpu"];setAllocatableMemory(String value) string allocatable_memory = 23 [json_name = "allocatableMemory"];setAllocatableMemoryBytes(com.google.protobuf.ByteString value) string allocatable_memory = 23 [json_name = "allocatableMemory"];string boot_id = 15 [json_name = "bootId"];setBootIdBytes(com.google.protobuf.ByteString value) string boot_id = 15 [json_name = "bootId"];setCluster(String value) string cluster = 19 [json_name = "cluster"];setClusterBytes(com.google.protobuf.ByteString value) string cluster = 19 [json_name = "cluster"];setCreationTimestamp(long value) The time that the instance was created.setDeletionTimestamp(long value) node.DeletionTimestamp.Unix() The time that the instance was deleted.setInstanceId(String value) container.googleapis.com/instance_idsetInstanceIdBytes(com.google.protobuf.ByteString value) container.googleapis.com/instance_idsetInstanceType(String value) node.kubernetes.io/instance-typesetInstanceTypeBytes(com.google.protobuf.ByteString value) node.kubernetes.io/instance-typesetMachineId(String value) string machine_id = 13 [json_name = "machineId"];setMachineIdBytes(com.google.protobuf.ByteString value) string machine_id = 13 [json_name = "machineId"];node.NamesetNameBytes(com.google.protobuf.ByteString value) node.NamesetNamespace(String value) string namespace = 17 [json_name = "namespace"];setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 17 [json_name = "namespace"];setObservedTimestamp(long value) The time that we polled the instance for usage.topology.kubernetes.io/regionsetRegionBytes(com.google.protobuf.ByteString value) topology.kubernetes.io/regionsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSystemUuid(String value) string system_uuid = 14 [json_name = "systemUuid"];setSystemUuidBytes(com.google.protobuf.ByteString value) string system_uuid = 14 [json_name = "systemUuid"];The Chalk team name that incurred the usage.setTeamBytes(com.google.protobuf.ByteString value) The Chalk team name that incurred the usage.setTotalCpu(String value) string total_cpu = 20 [json_name = "totalCpu"];setTotalCpuBytes(com.google.protobuf.ByteString value) string total_cpu = 20 [json_name = "totalCpu"];setTotalMemory(String value) string total_memory = 21 [json_name = "totalMemory"];setTotalMemoryBytes(com.google.protobuf.ByteString value) string total_memory = 21 [json_name = "totalMemory"];node.UIDsetUidBytes(com.google.protobuf.ByteString value) node.UIDfinal NodeStatusPubSub.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUnschedulable(boolean value) bool unschedulable = 16 [json_name = "unschedulable"];topology.kubernetes.io/zonesetZoneBytes(com.google.protobuf.ByteString value) topology.kubernetes.io/zoneMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
setField
public NodeStatusPubSub.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
setRepeatedField
public NodeStatusPubSub.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
addRepeatedField
public NodeStatusPubSub.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeStatusPubSub.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
mergeFrom
public NodeStatusPubSub.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeStatusPubSub.Builder>- Throws:
IOException
-
getTeam
The Chalk team name that incurred the usage.
string team = 1 [json_name = "team"];- Specified by:
getTeamin interfaceNodeStatusPubSubOrBuilder- 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:
getTeamBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for team.
-
setTeam
The Chalk team name that incurred the usage.
string team = 1 [json_name = "team"];- Parameters:
value- The team to set.- Returns:
- This builder for chaining.
-
clearTeam
The Chalk team name that incurred the usage.
string team = 1 [json_name = "team"];- Returns:
- This builder for chaining.
-
setTeamBytes
The Chalk team name that incurred the usage.
string team = 1 [json_name = "team"];- Parameters:
value- The bytes for team to set.- Returns:
- This builder for chaining.
-
getName
node.Name
string name = 2 [json_name = "name"];- Specified by:
getNamein interfaceNodeStatusPubSubOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()node.Name
string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for name.
-
setName
node.Name
string name = 2 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
node.Name
string name = 2 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
node.Name
string name = 2 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
node.UID
string uid = 3 [json_name = "uid"];- Specified by:
getUidin interfaceNodeStatusPubSubOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()node.UID
string uid = 3 [json_name = "uid"];- Specified by:
getUidBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for uid.
-
setUid
node.UID
string uid = 3 [json_name = "uid"];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
node.UID
string uid = 3 [json_name = "uid"];- Returns:
- This builder for chaining.
-
setUidBytes
node.UID
string uid = 3 [json_name = "uid"];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getInstanceType
node.kubernetes.io/instance-type
string instance_type = 4 [json_name = "instanceType"];- Specified by:
getInstanceTypein interfaceNodeStatusPubSubOrBuilder- Returns:
- The instanceType.
-
getInstanceTypeBytes
public com.google.protobuf.ByteString getInstanceTypeBytes()node.kubernetes.io/instance-type
string instance_type = 4 [json_name = "instanceType"];- Specified by:
getInstanceTypeBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for instanceType.
-
setInstanceType
node.kubernetes.io/instance-type
string instance_type = 4 [json_name = "instanceType"];- Parameters:
value- The instanceType to set.- Returns:
- This builder for chaining.
-
clearInstanceType
node.kubernetes.io/instance-type
string instance_type = 4 [json_name = "instanceType"];- Returns:
- This builder for chaining.
-
setInstanceTypeBytes
node.kubernetes.io/instance-type
string instance_type = 4 [json_name = "instanceType"];- Parameters:
value- The bytes for instanceType to set.- Returns:
- This builder for chaining.
-
getRegion
topology.kubernetes.io/region
string region = 5 [json_name = "region"];- Specified by:
getRegionin interfaceNodeStatusPubSubOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()topology.kubernetes.io/region
string region = 5 [json_name = "region"];- Specified by:
getRegionBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for region.
-
setRegion
topology.kubernetes.io/region
string region = 5 [json_name = "region"];- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
topology.kubernetes.io/region
string region = 5 [json_name = "region"];- Returns:
- This builder for chaining.
-
setRegionBytes
topology.kubernetes.io/region
string region = 5 [json_name = "region"];- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
getZone
topology.kubernetes.io/zone
string zone = 6 [json_name = "zone"];- Specified by:
getZonein interfaceNodeStatusPubSubOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()topology.kubernetes.io/zone
string zone = 6 [json_name = "zone"];- Specified by:
getZoneBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for zone.
-
setZone
topology.kubernetes.io/zone
string zone = 6 [json_name = "zone"];- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
topology.kubernetes.io/zone
string zone = 6 [json_name = "zone"];- Returns:
- This builder for chaining.
-
setZoneBytes
topology.kubernetes.io/zone
string zone = 6 [json_name = "zone"];- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
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:
getCreationTimestampin interfaceNodeStatusPubSubOrBuilder- Returns:
- The creationTimestamp.
-
setCreationTimestamp
The time that the instance was created. node.CreationTimestamp.Unix()
int64 creation_timestamp = 8 [json_name = "creationTimestamp", (.gen_bq_schema.bigquery) = { ... }- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
The time that the instance was created. node.CreationTimestamp.Unix()
int64 creation_timestamp = 8 [json_name = "creationTimestamp", (.gen_bq_schema.bigquery) = { ... }- Returns:
- This builder for chaining.
-
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:
getDeletionTimestampin interfaceNodeStatusPubSubOrBuilder- Returns:
- The deletionTimestamp.
-
setDeletionTimestamp
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) = { ... }- Parameters:
value- The deletionTimestamp to set.- Returns:
- This builder for chaining.
-
clearDeletionTimestamp
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) = { ... }- Returns:
- This builder for chaining.
-
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:
getObservedTimestampin interfaceNodeStatusPubSubOrBuilder- Returns:
- The observedTimestamp.
-
setObservedTimestamp
The time that we polled the instance for usage.
int64 observed_timestamp = 10 [json_name = "observedTimestamp", (.gen_bq_schema.bigquery) = { ... }- Parameters:
value- The observedTimestamp to set.- Returns:
- This builder for chaining.
-
clearObservedTimestamp
The time that we polled the instance for usage.
int64 observed_timestamp = 10 [json_name = "observedTimestamp", (.gen_bq_schema.bigquery) = { ... }- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:NodeStatusPubSubOrBuildernode.Labels
map<string, string> labels = 11 [json_name = "labels"];- Specified by:
getLabelsCountin interfaceNodeStatusPubSubOrBuilder
-
containsLabels
node.Labels
map<string, string> labels = 11 [json_name = "labels"];- Specified by:
containsLabelsin interfaceNodeStatusPubSubOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNodeStatusPubSubOrBuilder
-
getLabelsMap
node.Labels
map<string, string> labels = 11 [json_name = "labels"];- Specified by:
getLabelsMapin interfaceNodeStatusPubSubOrBuilder
-
getLabelsOrDefault
node.Labels
map<string, string> labels = 11 [json_name = "labels"];- Specified by:
getLabelsOrDefaultin interfaceNodeStatusPubSubOrBuilder
-
getLabelsOrThrow
node.Labels
map<string, string> labels = 11 [json_name = "labels"];- Specified by:
getLabelsOrThrowin interfaceNodeStatusPubSubOrBuilder
-
clearLabels
-
removeLabels
node.Labels
map<string, string> labels = 11 [json_name = "labels"]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
node.Labels
map<string, string> labels = 11 [json_name = "labels"]; -
putAllLabels
node.Labels
map<string, string> labels = 11 [json_name = "labels"]; -
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:NodeStatusPubSubOrBuildernode.Annotations
map<string, string> annotations = 12 [json_name = "annotations"];- Specified by:
getAnnotationsCountin interfaceNodeStatusPubSubOrBuilder
-
containsAnnotations
node.Annotations
map<string, string> annotations = 12 [json_name = "annotations"];- Specified by:
containsAnnotationsin interfaceNodeStatusPubSubOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceNodeStatusPubSubOrBuilder
-
getAnnotationsMap
node.Annotations
map<string, string> annotations = 12 [json_name = "annotations"];- Specified by:
getAnnotationsMapin interfaceNodeStatusPubSubOrBuilder
-
getAnnotationsOrDefault
node.Annotations
map<string, string> annotations = 12 [json_name = "annotations"];- Specified by:
getAnnotationsOrDefaultin interfaceNodeStatusPubSubOrBuilder
-
getAnnotationsOrThrow
node.Annotations
map<string, string> annotations = 12 [json_name = "annotations"];- Specified by:
getAnnotationsOrThrowin interfaceNodeStatusPubSubOrBuilder
-
clearAnnotations
-
removeAnnotations
node.Annotations
map<string, string> annotations = 12 [json_name = "annotations"]; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
node.Annotations
map<string, string> annotations = 12 [json_name = "annotations"]; -
putAllAnnotations
node.Annotations
map<string, string> annotations = 12 [json_name = "annotations"]; -
getMachineId
string machine_id = 13 [json_name = "machineId"];- Specified by:
getMachineIdin interfaceNodeStatusPubSubOrBuilder- Returns:
- The machineId.
-
getMachineIdBytes
public com.google.protobuf.ByteString getMachineIdBytes()string machine_id = 13 [json_name = "machineId"];- Specified by:
getMachineIdBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for machineId.
-
setMachineId
string machine_id = 13 [json_name = "machineId"];- Parameters:
value- The machineId to set.- Returns:
- This builder for chaining.
-
clearMachineId
string machine_id = 13 [json_name = "machineId"];- Returns:
- This builder for chaining.
-
setMachineIdBytes
string machine_id = 13 [json_name = "machineId"];- Parameters:
value- The bytes for machineId to set.- Returns:
- This builder for chaining.
-
getSystemUuid
string system_uuid = 14 [json_name = "systemUuid"];- Specified by:
getSystemUuidin interfaceNodeStatusPubSubOrBuilder- Returns:
- The systemUuid.
-
getSystemUuidBytes
public com.google.protobuf.ByteString getSystemUuidBytes()string system_uuid = 14 [json_name = "systemUuid"];- Specified by:
getSystemUuidBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for systemUuid.
-
setSystemUuid
string system_uuid = 14 [json_name = "systemUuid"];- Parameters:
value- The systemUuid to set.- Returns:
- This builder for chaining.
-
clearSystemUuid
string system_uuid = 14 [json_name = "systemUuid"];- Returns:
- This builder for chaining.
-
setSystemUuidBytes
string system_uuid = 14 [json_name = "systemUuid"];- Parameters:
value- The bytes for systemUuid to set.- Returns:
- This builder for chaining.
-
getBootId
string boot_id = 15 [json_name = "bootId"];- Specified by:
getBootIdin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bootId.
-
getBootIdBytes
public com.google.protobuf.ByteString getBootIdBytes()string boot_id = 15 [json_name = "bootId"];- Specified by:
getBootIdBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for bootId.
-
setBootId
string boot_id = 15 [json_name = "bootId"];- Parameters:
value- The bootId to set.- Returns:
- This builder for chaining.
-
clearBootId
string boot_id = 15 [json_name = "bootId"];- Returns:
- This builder for chaining.
-
setBootIdBytes
string boot_id = 15 [json_name = "bootId"];- Parameters:
value- The bytes for bootId to set.- Returns:
- This builder for chaining.
-
getUnschedulable
public boolean getUnschedulable()bool unschedulable = 16 [json_name = "unschedulable"];- Specified by:
getUnschedulablein interfaceNodeStatusPubSubOrBuilder- Returns:
- The unschedulable.
-
setUnschedulable
bool unschedulable = 16 [json_name = "unschedulable"];- Parameters:
value- The unschedulable to set.- Returns:
- This builder for chaining.
-
clearUnschedulable
bool unschedulable = 16 [json_name = "unschedulable"];- Returns:
- This builder for chaining.
-
getNamespace
string namespace = 17 [json_name = "namespace"];- Specified by:
getNamespacein interfaceNodeStatusPubSubOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 17 [json_name = "namespace"];- Specified by:
getNamespaceBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
string namespace = 17 [json_name = "namespace"];- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
string namespace = 17 [json_name = "namespace"];- Returns:
- This builder for chaining.
-
setNamespaceBytes
string namespace = 17 [json_name = "namespace"];- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getInstanceId
container.googleapis.com/instance_id
string instance_id = 18 [json_name = "instanceId"];- Specified by:
getInstanceIdin interfaceNodeStatusPubSubOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()container.googleapis.com/instance_id
string instance_id = 18 [json_name = "instanceId"];- Specified by:
getInstanceIdBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
container.googleapis.com/instance_id
string instance_id = 18 [json_name = "instanceId"];- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
container.googleapis.com/instance_id
string instance_id = 18 [json_name = "instanceId"];- Returns:
- This builder for chaining.
-
setInstanceIdBytes
container.googleapis.com/instance_id
string instance_id = 18 [json_name = "instanceId"];- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getCluster
string cluster = 19 [json_name = "cluster"];- Specified by:
getClusterin interfaceNodeStatusPubSubOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()string cluster = 19 [json_name = "cluster"];- Specified by:
getClusterBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
string cluster = 19 [json_name = "cluster"];- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
string cluster = 19 [json_name = "cluster"];- Returns:
- This builder for chaining.
-
setClusterBytes
string cluster = 19 [json_name = "cluster"];- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
getTotalCpu
string total_cpu = 20 [json_name = "totalCpu"];- Specified by:
getTotalCpuin interfaceNodeStatusPubSubOrBuilder- Returns:
- The totalCpu.
-
getTotalCpuBytes
public com.google.protobuf.ByteString getTotalCpuBytes()string total_cpu = 20 [json_name = "totalCpu"];- Specified by:
getTotalCpuBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for totalCpu.
-
setTotalCpu
string total_cpu = 20 [json_name = "totalCpu"];- Parameters:
value- The totalCpu to set.- Returns:
- This builder for chaining.
-
clearTotalCpu
string total_cpu = 20 [json_name = "totalCpu"];- Returns:
- This builder for chaining.
-
setTotalCpuBytes
string total_cpu = 20 [json_name = "totalCpu"];- Parameters:
value- The bytes for totalCpu to set.- Returns:
- This builder for chaining.
-
getTotalMemory
string total_memory = 21 [json_name = "totalMemory"];- Specified by:
getTotalMemoryin interfaceNodeStatusPubSubOrBuilder- Returns:
- The totalMemory.
-
getTotalMemoryBytes
public com.google.protobuf.ByteString getTotalMemoryBytes()string total_memory = 21 [json_name = "totalMemory"];- Specified by:
getTotalMemoryBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for totalMemory.
-
setTotalMemory
string total_memory = 21 [json_name = "totalMemory"];- Parameters:
value- The totalMemory to set.- Returns:
- This builder for chaining.
-
clearTotalMemory
string total_memory = 21 [json_name = "totalMemory"];- Returns:
- This builder for chaining.
-
setTotalMemoryBytes
string total_memory = 21 [json_name = "totalMemory"];- Parameters:
value- The bytes for totalMemory to set.- Returns:
- This builder for chaining.
-
getAllocatableCpu
string allocatable_cpu = 22 [json_name = "allocatableCpu"];- Specified by:
getAllocatableCpuin interfaceNodeStatusPubSubOrBuilder- Returns:
- The allocatableCpu.
-
getAllocatableCpuBytes
public com.google.protobuf.ByteString getAllocatableCpuBytes()string allocatable_cpu = 22 [json_name = "allocatableCpu"];- Specified by:
getAllocatableCpuBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for allocatableCpu.
-
setAllocatableCpu
string allocatable_cpu = 22 [json_name = "allocatableCpu"];- Parameters:
value- The allocatableCpu to set.- Returns:
- This builder for chaining.
-
clearAllocatableCpu
string allocatable_cpu = 22 [json_name = "allocatableCpu"];- Returns:
- This builder for chaining.
-
setAllocatableCpuBytes
string allocatable_cpu = 22 [json_name = "allocatableCpu"];- Parameters:
value- The bytes for allocatableCpu to set.- Returns:
- This builder for chaining.
-
getAllocatableMemory
string allocatable_memory = 23 [json_name = "allocatableMemory"];- Specified by:
getAllocatableMemoryin interfaceNodeStatusPubSubOrBuilder- Returns:
- The allocatableMemory.
-
getAllocatableMemoryBytes
public com.google.protobuf.ByteString getAllocatableMemoryBytes()string allocatable_memory = 23 [json_name = "allocatableMemory"];- Specified by:
getAllocatableMemoryBytesin interfaceNodeStatusPubSubOrBuilder- Returns:
- The bytes for allocatableMemory.
-
setAllocatableMemory
string allocatable_memory = 23 [json_name = "allocatableMemory"];- Parameters:
value- The allocatableMemory to set.- Returns:
- This builder for chaining.
-
clearAllocatableMemory
string allocatable_memory = 23 [json_name = "allocatableMemory"];- Returns:
- This builder for chaining.
-
setAllocatableMemoryBytes
string allocatable_memory = 23 [json_name = "allocatableMemory"];- Parameters:
value- The bytes for allocatableMemory to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NodeStatusPubSub.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-
mergeUnknownFields
public final NodeStatusPubSub.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeStatusPubSub.Builder>
-