Class RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

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

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

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

      public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
      Throws:
      IOException
    • hasFingerprint

      public boolean hasFingerprint()
       Fingerprint of the target pools information, which is a hash of the
       contents. This field is used for optimistic locking when you update the
       target pool entries. This field is optional.
       
      optional string fingerprint = 234678500;
      Specified by:
      hasFingerprint in interface RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      Whether the fingerprint field is set.
    • getFingerprint

      public String getFingerprint()
       Fingerprint of the target pools information, which is a hash of the
       contents. This field is used for optimistic locking when you update the
       target pool entries. This field is optional.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprint in interface RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      The fingerprint.
    • getFingerprintBytes

      public com.google.protobuf.ByteString getFingerprintBytes()
       Fingerprint of the target pools information, which is a hash of the
       contents. This field is used for optimistic locking when you update the
       target pool entries. This field is optional.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprintBytes in interface RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      The bytes for fingerprint.
    • setFingerprint

       Fingerprint of the target pools information, which is a hash of the
       contents. This field is used for optimistic locking when you update the
       target pool entries. This field is optional.
       
      optional string fingerprint = 234678500;
      Parameters:
      value - The fingerprint to set.
      Returns:
      This builder for chaining.
    • clearFingerprint

       Fingerprint of the target pools information, which is a hash of the
       contents. This field is used for optimistic locking when you update the
       target pool entries. This field is optional.
       
      optional string fingerprint = 234678500;
      Returns:
      This builder for chaining.
    • setFingerprintBytes

      public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
       Fingerprint of the target pools information, which is a hash of the
       contents. This field is used for optimistic locking when you update the
       target pool entries. This field is optional.
       
      optional string fingerprint = 234678500;
      Parameters:
      value - The bytes for fingerprint to set.
      Returns:
      This builder for chaining.
    • getTargetPoolsList

      public com.google.protobuf.ProtocolStringList getTargetPoolsList()
       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPoolsList in interface RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      A list containing the targetPools.
    • getTargetPoolsCount

      public int getTargetPoolsCount()
       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPoolsCount in interface RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      The count of targetPools.
    • getTargetPools

      public String getTargetPools(int index)
       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPools in interface RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The targetPools at the given index.
    • getTargetPoolsBytes

      public com.google.protobuf.ByteString getTargetPoolsBytes(int index)
       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPoolsBytes in interface RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the targetPools at the given index.
    • setTargetPools

      public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setTargetPools(int index, String value)
       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Parameters:
      index - The index to set the value at.
      value - The targetPools to set.
      Returns:
      This builder for chaining.
    • addTargetPools

       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Parameters:
      value - The targetPools to add.
      Returns:
      This builder for chaining.
    • addAllTargetPools

       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Parameters:
      values - The targetPools to add.
      Returns:
      This builder for chaining.
    • clearTargetPools

       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Returns:
      This builder for chaining.
    • addTargetPoolsBytes

      public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPoolsBytes(com.google.protobuf.ByteString value)
       The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
       apply to all of the instances in the managed instance group.
       
      repeated string target_pools = 336072617;
      Parameters:
      value - The bytes of the targetPools to add.
      Returns:
      This builder for chaining.