Class InstanceManagedByIgmErrorInstanceActionDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceManagedByIgmErrorInstanceActionDetails.Builder>
com.google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails.Builder
All Implemented Interfaces:
InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InstanceManagedByIgmErrorInstanceActionDetails

public static final class InstanceManagedByIgmErrorInstanceActionDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceManagedByIgmErrorInstanceActionDetails.Builder> implements InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
 
Protobuf type google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails
  • 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<InstanceManagedByIgmErrorInstanceActionDetails.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<InstanceManagedByIgmErrorInstanceActionDetails.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<InstanceManagedByIgmErrorInstanceActionDetails.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InstanceManagedByIgmErrorInstanceActionDetails.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<InstanceManagedByIgmErrorInstanceActionDetails.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<InstanceManagedByIgmErrorInstanceActionDetails.Builder>
    • mergeFrom

      public InstanceManagedByIgmErrorInstanceActionDetails.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<InstanceManagedByIgmErrorInstanceActionDetails.Builder>
      Throws:
      IOException
    • hasAction

      public boolean hasAction()
       Output only. [Output Only] Action that managed instance group was executing on
       the instance when the error occurred. Possible values:
       Check the Action enum for the list of possible values.
       
      optional string action = 187661878;
      Specified by:
      hasAction in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      Whether the action field is set.
    • getAction

      public String getAction()
       Output only. [Output Only] Action that managed instance group was executing on
       the instance when the error occurred. Possible values:
       Check the Action enum for the list of possible values.
       
      optional string action = 187661878;
      Specified by:
      getAction in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      The action.
    • getActionBytes

      public com.google.protobuf.ByteString getActionBytes()
       Output only. [Output Only] Action that managed instance group was executing on
       the instance when the error occurred. Possible values:
       Check the Action enum for the list of possible values.
       
      optional string action = 187661878;
      Specified by:
      getActionBytes in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      The bytes for action.
    • setAction

       Output only. [Output Only] Action that managed instance group was executing on
       the instance when the error occurred. Possible values:
       Check the Action enum for the list of possible values.
       
      optional string action = 187661878;
      Parameters:
      value - The action to set.
      Returns:
      This builder for chaining.
    • clearAction

       Output only. [Output Only] Action that managed instance group was executing on
       the instance when the error occurred. Possible values:
       Check the Action enum for the list of possible values.
       
      optional string action = 187661878;
      Returns:
      This builder for chaining.
    • setActionBytes

      public InstanceManagedByIgmErrorInstanceActionDetails.Builder setActionBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Action that managed instance group was executing on
       the instance when the error occurred. Possible values:
       Check the Action enum for the list of possible values.
       
      optional string action = 187661878;
      Parameters:
      value - The bytes for action to set.
      Returns:
      This builder for chaining.
    • hasInstance

      public boolean hasInstance()
       Output only. [Output Only] The URL of the instance.
       The URL can be set even if the instance has not yet been created.
       
      optional string instance = 18257045;
      Specified by:
      hasInstance in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Output only. [Output Only] The URL of the instance.
       The URL can be set even if the instance has not yet been created.
       
      optional string instance = 18257045;
      Specified by:
      getInstance in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Output only. [Output Only] The URL of the instance.
       The URL can be set even if the instance has not yet been created.
       
      optional string instance = 18257045;
      Specified by:
      getInstanceBytes in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

       Output only. [Output Only] The URL of the instance.
       The URL can be set even if the instance has not yet been created.
       
      optional string instance = 18257045;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

       Output only. [Output Only] The URL of the instance.
       The URL can be set even if the instance has not yet been created.
       
      optional string instance = 18257045;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public InstanceManagedByIgmErrorInstanceActionDetails.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The URL of the instance.
       The URL can be set even if the instance has not yet been created.
       
      optional string instance = 18257045;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasVersion

      public boolean hasVersion()
       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
      Specified by:
      hasVersion in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public ManagedInstanceVersion getVersion()
       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
      Specified by:
      getVersion in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder
      Returns:
      The version.
    • setVersion

       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
    • setVersion

       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
    • mergeVersion

       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
    • clearVersion

       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
    • getVersionBuilder

      public ManagedInstanceVersion.Builder getVersionBuilder()
       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
    • getVersionOrBuilder

      public ManagedInstanceVersionOrBuilder getVersionOrBuilder()
       Output only. [Output Only] Version this instance was created from, or was being
       created from, but the creation failed. Corresponds to one of the versions
       that were set on the Instance Group Manager resource at the time this
       instance was being created.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
      Specified by:
      getVersionOrBuilder in interface InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder