Class Compute.InstanceMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.InstanceMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.InstanceMetadata.Builder>
namespace.cloud.compute.v1beta.Compute.InstanceMetadata.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Compute.InstanceMetadataOrBuilder
Enclosing class:
Compute.InstanceMetadata

public static final class Compute.InstanceMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<Compute.InstanceMetadata.Builder> implements Compute.InstanceMetadataOrBuilder
Protobuf type namespace.cloud.compute.v1beta.InstanceMetadata
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Compute.InstanceMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Compute.InstanceMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Compute.InstanceMetadata.Builder>
    • getDefaultInstanceForType

      public Compute.InstanceMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Compute.InstanceMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Compute.InstanceMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Compute.InstanceMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.InstanceMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Compute.InstanceMetadata.Builder>
    • mergeFrom

      public Compute.InstanceMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.InstanceMetadata.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
       The ID of the instance created.
       
      string instance_id = 1;
      Specified by:
      getInstanceId in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
       The ID of the instance created.
       
      string instance_id = 1;
      Specified by:
      getInstanceIdBytes in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public Compute.InstanceMetadata.Builder setInstanceId(String value)
       The ID of the instance created.
       
      string instance_id = 1;
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public Compute.InstanceMetadata.Builder clearInstanceId()
       The ID of the instance created.
       
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public Compute.InstanceMetadata.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       The ID of the instance created.
       
      string instance_id = 1;
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • hasCreatedAt

      public boolean hasCreatedAt()
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
      Specified by:
      hasCreatedAt in interface Compute.InstanceMetadataOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
      Specified by:
      getCreatedAt in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The createdAt.
    • setCreatedAt

      public Compute.InstanceMetadata.Builder setCreatedAt(com.google.protobuf.Timestamp value)
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
    • setCreatedAt

      public Compute.InstanceMetadata.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
    • mergeCreatedAt

      public Compute.InstanceMetadata.Builder mergeCreatedAt(com.google.protobuf.Timestamp value)
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
    • clearCreatedAt

      public Compute.InstanceMetadata.Builder clearCreatedAt()
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
    • getCreatedAtBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
       The timestamp of when the instance was created (in UTC).
       
      .google.protobuf.Timestamp created_at = 2;
      Specified by:
      getCreatedAtOrBuilder in interface Compute.InstanceMetadataOrBuilder
    • hasReadyAt

      public boolean hasReadyAt()
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
      Specified by:
      hasReadyAt in interface Compute.InstanceMetadataOrBuilder
      Returns:
      Whether the readyAt field is set.
    • getReadyAt

      public com.google.protobuf.Timestamp getReadyAt()
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
      Specified by:
      getReadyAt in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The readyAt.
    • setReadyAt

      public Compute.InstanceMetadata.Builder setReadyAt(com.google.protobuf.Timestamp value)
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
    • setReadyAt

      public Compute.InstanceMetadata.Builder setReadyAt(com.google.protobuf.Timestamp.Builder builderForValue)
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
    • mergeReadyAt

      public Compute.InstanceMetadata.Builder mergeReadyAt(com.google.protobuf.Timestamp value)
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
    • clearReadyAt

      public Compute.InstanceMetadata.Builder clearReadyAt()
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
    • getReadyAtBuilder

      public com.google.protobuf.Timestamp.Builder getReadyAtBuilder()
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
    • getReadyAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getReadyAtOrBuilder()
       The timestamp of when the instance became ready/running (in UTC). Not set
       if the instance is one of PENDING or CREATING states.
       
      .google.protobuf.Timestamp ready_at = 13;
      Specified by:
      getReadyAtOrBuilder in interface Compute.InstanceMetadataOrBuilder
    • hasDestroyedAt

      public boolean hasDestroyedAt()
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
      Specified by:
      hasDestroyedAt in interface Compute.InstanceMetadataOrBuilder
      Returns:
      Whether the destroyedAt field is set.
    • getDestroyedAt

      public com.google.protobuf.Timestamp getDestroyedAt()
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
      Specified by:
      getDestroyedAt in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The destroyedAt.
    • setDestroyedAt

      public Compute.InstanceMetadata.Builder setDestroyedAt(com.google.protobuf.Timestamp value)
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
    • setDestroyedAt

      public Compute.InstanceMetadata.Builder setDestroyedAt(com.google.protobuf.Timestamp.Builder builderForValue)
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
    • mergeDestroyedAt

      public Compute.InstanceMetadata.Builder mergeDestroyedAt(com.google.protobuf.Timestamp value)
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
    • clearDestroyedAt

      public Compute.InstanceMetadata.Builder clearDestroyedAt()
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
    • getDestroyedAtBuilder

      public com.google.protobuf.Timestamp.Builder getDestroyedAtBuilder()
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
    • getDestroyedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDestroyedAtOrBuilder()
       The timestamp of when the instance was destroyed (in UTC). Not set if the
       instance is one of PENDING, CREATING or RUNNING states.
       
      .google.protobuf.Timestamp destroyed_at = 3;
      Specified by:
      getDestroyedAtOrBuilder in interface Compute.InstanceMetadataOrBuilder
    • hasDeadline

      public boolean hasDeadline()
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
      Specified by:
      hasDeadline in interface Compute.InstanceMetadataOrBuilder
      Returns:
      Whether the deadline field is set.
    • getDeadline

      public com.google.protobuf.Timestamp getDeadline()
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
      Specified by:
      getDeadline in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The deadline.
    • setDeadline

      public Compute.InstanceMetadata.Builder setDeadline(com.google.protobuf.Timestamp value)
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
    • setDeadline

      public Compute.InstanceMetadata.Builder setDeadline(com.google.protobuf.Timestamp.Builder builderForValue)
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
    • mergeDeadline

      public Compute.InstanceMetadata.Builder mergeDeadline(com.google.protobuf.Timestamp value)
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
    • clearDeadline

      public Compute.InstanceMetadata.Builder clearDeadline()
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
    • getDeadlineBuilder

      public com.google.protobuf.Timestamp.Builder getDeadlineBuilder()
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
    • getDeadlineOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeadlineOrBuilder()
       The computed deadline of the instance (in UTC). The instance will be
       destroyed when it hits its deadline.
       
      .google.protobuf.Timestamp deadline = 4;
      Specified by:
      getDeadlineOrBuilder in interface Compute.InstanceMetadataOrBuilder
    • getDocumentedPurpose

      public String getDocumentedPurpose()
       The user specified documented purpose.
       
      string documented_purpose = 5;
      Specified by:
      getDocumentedPurpose in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The documentedPurpose.
    • getDocumentedPurposeBytes

      public com.google.protobuf.ByteString getDocumentedPurposeBytes()
       The user specified documented purpose.
       
      string documented_purpose = 5;
      Specified by:
      getDocumentedPurposeBytes in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The bytes for documentedPurpose.
    • setDocumentedPurpose

      public Compute.InstanceMetadata.Builder setDocumentedPurpose(String value)
       The user specified documented purpose.
       
      string documented_purpose = 5;
      Parameters:
      value - The documentedPurpose to set.
      Returns:
      This builder for chaining.
    • clearDocumentedPurpose

      public Compute.InstanceMetadata.Builder clearDocumentedPurpose()
       The user specified documented purpose.
       
      string documented_purpose = 5;
      Returns:
      This builder for chaining.
    • setDocumentedPurposeBytes

      public Compute.InstanceMetadata.Builder setDocumentedPurposeBytes(com.google.protobuf.ByteString value)
       The user specified documented purpose.
       
      string documented_purpose = 5;
      Parameters:
      value - The bytes for documentedPurpose to set.
      Returns:
      This builder for chaining.
    • hasShape

      public boolean hasShape()
       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
      Specified by:
      hasShape in interface Compute.InstanceMetadataOrBuilder
      Returns:
      Whether the shape field is set.
    • getShape

      public Compute.InstanceShape getShape()
       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
      Specified by:
      getShape in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The shape.
    • setShape

       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
    • setShape

       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
    • mergeShape

       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
    • clearShape

      public Compute.InstanceMetadata.Builder clearShape()
       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
    • getShapeBuilder

      public Compute.InstanceShape.Builder getShapeBuilder()
       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
    • getShapeOrBuilder

      public Compute.InstanceShapeOrBuilder getShapeOrBuilder()
       The user specified instance shape (cpu, memory, disk).
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 6;
      Specified by:
      getShapeOrBuilder in interface Compute.InstanceMetadataOrBuilder
    • getStatusValue

      public int getStatusValue()
       The status the instance is in.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Status status = 7;
      Specified by:
      getStatusValue in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public Compute.InstanceMetadata.Builder setStatusValue(int value)
       The status the instance is in.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Status status = 7;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public Compute.InstanceMetadata.Status getStatus()
       The status the instance is in.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Status status = 7;
      Specified by:
      getStatus in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The status.
    • setStatus

       The status the instance is in.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Status status = 7;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public Compute.InstanceMetadata.Builder clearStatus()
       The status the instance is in.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Status status = 7;
      Returns:
      This builder for chaining.
    • getIngressDomain

      public String getIngressDomain()
       The region-specific base ingress domain used to back created ingresses.
      
       Example: `fra1.nscluster.cloud`.
       
      string ingress_domain = 8;
      Specified by:
      getIngressDomain in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The ingressDomain.
    • getIngressDomainBytes

      public com.google.protobuf.ByteString getIngressDomainBytes()
       The region-specific base ingress domain used to back created ingresses.
      
       Example: `fra1.nscluster.cloud`.
       
      string ingress_domain = 8;
      Specified by:
      getIngressDomainBytes in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The bytes for ingressDomain.
    • setIngressDomain

      public Compute.InstanceMetadata.Builder setIngressDomain(String value)
       The region-specific base ingress domain used to back created ingresses.
      
       Example: `fra1.nscluster.cloud`.
       
      string ingress_domain = 8;
      Parameters:
      value - The ingressDomain to set.
      Returns:
      This builder for chaining.
    • clearIngressDomain

      public Compute.InstanceMetadata.Builder clearIngressDomain()
       The region-specific base ingress domain used to back created ingresses.
      
       Example: `fra1.nscluster.cloud`.
       
      string ingress_domain = 8;
      Returns:
      This builder for chaining.
    • setIngressDomainBytes

      public Compute.InstanceMetadata.Builder setIngressDomainBytes(com.google.protobuf.ByteString value)
       The region-specific base ingress domain used to back created ingresses.
      
       Example: `fra1.nscluster.cloud`.
       
      string ingress_domain = 8;
      Parameters:
      value - The bytes for ingressDomain to set.
      Returns:
      This builder for chaining.
    • getLabelsList

      public List<Labels.Label> getLabelsList()
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
      Specified by:
      getLabelsList in interface Compute.InstanceMetadataOrBuilder
    • getLabelsCount

      public int getLabelsCount()
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
      Specified by:
      getLabelsCount in interface Compute.InstanceMetadataOrBuilder
    • getLabels

      public Labels.Label getLabels(int index)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
      Specified by:
      getLabels in interface Compute.InstanceMetadataOrBuilder
    • setLabels

      public Compute.InstanceMetadata.Builder setLabels(int index, Labels.Label value)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • setLabels

      public Compute.InstanceMetadata.Builder setLabels(int index, Labels.Label.Builder builderForValue)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • addLabels

       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • addLabels

      public Compute.InstanceMetadata.Builder addLabels(int index, Labels.Label value)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • addLabels

      public Compute.InstanceMetadata.Builder addLabels(Labels.Label.Builder builderForValue)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • addLabels

      public Compute.InstanceMetadata.Builder addLabels(int index, Labels.Label.Builder builderForValue)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • addAllLabels

      public Compute.InstanceMetadata.Builder addAllLabels(Iterable<? extends Labels.Label> values)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • clearLabels

      public Compute.InstanceMetadata.Builder clearLabels()
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • removeLabels

      public Compute.InstanceMetadata.Builder removeLabels(int index)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • getLabelsBuilder

      public Labels.Label.Builder getLabelsBuilder(int index)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • getLabelsOrBuilder

      public Labels.LabelOrBuilder getLabelsOrBuilder(int index)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
      Specified by:
      getLabelsOrBuilder in interface Compute.InstanceMetadataOrBuilder
    • getLabelsOrBuilderList

      public List<? extends Labels.LabelOrBuilder> getLabelsOrBuilderList()
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
      Specified by:
      getLabelsOrBuilderList in interface Compute.InstanceMetadataOrBuilder
    • addLabelsBuilder

      public Labels.Label.Builder addLabelsBuilder()
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • addLabelsBuilder

      public Labels.Label.Builder addLabelsBuilder(int index)
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • getLabelsBuilderList

      public List<Labels.Label.Builder> getLabelsBuilderList()
       The user specified instance labels.
       
      repeated .namespace.stdlib.Label labels = 9;
    • getCreatorId

      public String getCreatorId()
       If the used authorization token has a `creator_id`, it is retained for
       debugging purposes.
       
      string creator_id = 10;
      Specified by:
      getCreatorId in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The creatorId.
    • getCreatorIdBytes

      public com.google.protobuf.ByteString getCreatorIdBytes()
       If the used authorization token has a `creator_id`, it is retained for
       debugging purposes.
       
      string creator_id = 10;
      Specified by:
      getCreatorIdBytes in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The bytes for creatorId.
    • setCreatorId

      public Compute.InstanceMetadata.Builder setCreatorId(String value)
       If the used authorization token has a `creator_id`, it is retained for
       debugging purposes.
       
      string creator_id = 10;
      Parameters:
      value - The creatorId to set.
      Returns:
      This builder for chaining.
    • clearCreatorId

      public Compute.InstanceMetadata.Builder clearCreatorId()
       If the used authorization token has a `creator_id`, it is retained for
       debugging purposes.
       
      string creator_id = 10;
      Returns:
      This builder for chaining.
    • setCreatorIdBytes

      public Compute.InstanceMetadata.Builder setCreatorIdBytes(com.google.protobuf.ByteString value)
       If the used authorization token has a `creator_id`, it is retained for
       debugging purposes.
       
      string creator_id = 10;
      Parameters:
      value - The bytes for creatorId to set.
      Returns:
      This builder for chaining.
    • getServicesList

      public List<Compute.InstanceMetadata.Service> getServicesList()
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
      Specified by:
      getServicesList in interface Compute.InstanceMetadataOrBuilder
    • getServicesCount

      public int getServicesCount()
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
      Specified by:
      getServicesCount in interface Compute.InstanceMetadataOrBuilder
    • getServices

      public Compute.InstanceMetadata.Service getServices(int index)
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
      Specified by:
      getServices in interface Compute.InstanceMetadataOrBuilder
    • setServices

       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • setServices

      public Compute.InstanceMetadata.Builder setServices(int index, Compute.InstanceMetadata.Service.Builder builderForValue)
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • addServices

       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • addServices

       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • addServices

       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • addServices

      public Compute.InstanceMetadata.Builder addServices(int index, Compute.InstanceMetadata.Service.Builder builderForValue)
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • addAllServices

       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • clearServices

      public Compute.InstanceMetadata.Builder clearServices()
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • removeServices

      public Compute.InstanceMetadata.Builder removeServices(int index)
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • getServicesBuilder

      public Compute.InstanceMetadata.Service.Builder getServicesBuilder(int index)
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • getServicesOrBuilder

      public Compute.InstanceMetadata.ServiceOrBuilder getServicesOrBuilder(int index)
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
      Specified by:
      getServicesOrBuilder in interface Compute.InstanceMetadataOrBuilder
    • getServicesOrBuilderList

      public List<? extends Compute.InstanceMetadata.ServiceOrBuilder> getServicesOrBuilderList()
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
      Specified by:
      getServicesOrBuilderList in interface Compute.InstanceMetadataOrBuilder
    • addServicesBuilder

      public Compute.InstanceMetadata.Service.Builder addServicesBuilder()
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • addServicesBuilder

      public Compute.InstanceMetadata.Service.Builder addServicesBuilder(int index)
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • getServicesBuilderList

      public List<Compute.InstanceMetadata.Service.Builder> getServicesBuilderList()
       Maintain state of each of the exported system services in this instance.
       Examples of system services are `buildkit`, `kubernetes`, etc.
       
      repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11;
    • hasHwDeployment

      public boolean hasHwDeployment()
       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
      Specified by:
      hasHwDeployment in interface Compute.InstanceMetadataOrBuilder
      Returns:
      Whether the hwDeployment field is set.
    • getHwDeployment

      public Compute.InstanceMetadata.HWDeployment getHwDeployment()
       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
      Specified by:
      getHwDeployment in interface Compute.InstanceMetadataOrBuilder
      Returns:
      The hwDeployment.
    • setHwDeployment

       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
    • setHwDeployment

       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
    • mergeHwDeployment

       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
    • clearHwDeployment

      public Compute.InstanceMetadata.Builder clearHwDeployment()
       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
    • getHwDeploymentBuilder

      public Compute.InstanceMetadata.HWDeployment.Builder getHwDeploymentBuilder()
       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
    • getHwDeploymentOrBuilder

      public Compute.InstanceMetadata.HWDeploymentOrBuilder getHwDeploymentOrBuilder()
       Information related to where the instance is running, or ran, including
       geography, and hw platform.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
      Specified by:
      getHwDeploymentOrBuilder in interface Compute.InstanceMetadataOrBuilder