Class InstanceGroupManagersSetInstanceTemplateRequest.Builder

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

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

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

      public InstanceGroupManagersSetInstanceTemplateRequest.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<InstanceGroupManagersSetInstanceTemplateRequest.Builder>
      Throws:
      IOException
    • hasInstanceTemplate

      public boolean hasInstanceTemplate()
       The URL of the instance template that is specified for this managed
       instance group. The group uses this template to create all new instances
       in the managed instance group. The templates for existing instances in the
       group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
       
      optional string instance_template = 309248228;
      Specified by:
      hasInstanceTemplate in interface InstanceGroupManagersSetInstanceTemplateRequestOrBuilder
      Returns:
      Whether the instanceTemplate field is set.
    • getInstanceTemplate

      public String getInstanceTemplate()
       The URL of the instance template that is specified for this managed
       instance group. The group uses this template to create all new instances
       in the managed instance group. The templates for existing instances in the
       group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
       
      optional string instance_template = 309248228;
      Specified by:
      getInstanceTemplate in interface InstanceGroupManagersSetInstanceTemplateRequestOrBuilder
      Returns:
      The instanceTemplate.
    • getInstanceTemplateBytes

      public com.google.protobuf.ByteString getInstanceTemplateBytes()
       The URL of the instance template that is specified for this managed
       instance group. The group uses this template to create all new instances
       in the managed instance group. The templates for existing instances in the
       group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
       
      optional string instance_template = 309248228;
      Specified by:
      getInstanceTemplateBytes in interface InstanceGroupManagersSetInstanceTemplateRequestOrBuilder
      Returns:
      The bytes for instanceTemplate.
    • setInstanceTemplate

       The URL of the instance template that is specified for this managed
       instance group. The group uses this template to create all new instances
       in the managed instance group. The templates for existing instances in the
       group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
       
      optional string instance_template = 309248228;
      Parameters:
      value - The instanceTemplate to set.
      Returns:
      This builder for chaining.
    • clearInstanceTemplate

       The URL of the instance template that is specified for this managed
       instance group. The group uses this template to create all new instances
       in the managed instance group. The templates for existing instances in the
       group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
       
      optional string instance_template = 309248228;
      Returns:
      This builder for chaining.
    • setInstanceTemplateBytes

      public InstanceGroupManagersSetInstanceTemplateRequest.Builder setInstanceTemplateBytes(com.google.protobuf.ByteString value)
       The URL of the instance template that is specified for this managed
       instance group. The group uses this template to create all new instances
       in the managed instance group. The templates for existing instances in the
       group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
       
      optional string instance_template = 309248228;
      Parameters:
      value - The bytes for instanceTemplate to set.
      Returns:
      This builder for chaining.