Class InstanceGroupManagersSetTargetPoolsRequest.Builder

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

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

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

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

      public boolean hasFingerprint()
       The fingerprint of the target pools information. Use this optional
       property to prevent conflicts when multiple users change the target pools
       settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get
       method. Then, include the fingerprint in your request to ensure that you
       do not overwrite changes that were applied from another
       concurrent request.
       
      optional string fingerprint = 234678500;
      Specified by:
      hasFingerprint in interface InstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      Whether the fingerprint field is set.
    • getFingerprint

      public String getFingerprint()
       The fingerprint of the target pools information. Use this optional
       property to prevent conflicts when multiple users change the target pools
       settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get
       method. Then, include the fingerprint in your request to ensure that you
       do not overwrite changes that were applied from another
       concurrent request.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprint in interface InstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      The fingerprint.
    • getFingerprintBytes

      public com.google.protobuf.ByteString getFingerprintBytes()
       The fingerprint of the target pools information. Use this optional
       property to prevent conflicts when multiple users change the target pools
       settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get
       method. Then, include the fingerprint in your request to ensure that you
       do not overwrite changes that were applied from another
       concurrent request.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprintBytes in interface InstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      The bytes for fingerprint.
    • setFingerprint

       The fingerprint of the target pools information. Use this optional
       property to prevent conflicts when multiple users change the target pools
       settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get
       method. Then, include the fingerprint in your request to ensure that you
       do not overwrite changes that were applied from another
       concurrent request.
       
      optional string fingerprint = 234678500;
      Parameters:
      value - The fingerprint to set.
      Returns:
      This builder for chaining.
    • clearFingerprint

       The fingerprint of the target pools information. Use this optional
       property to prevent conflicts when multiple users change the target pools
       settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get
       method. Then, include the fingerprint in your request to ensure that you
       do not overwrite changes that were applied from another
       concurrent request.
       
      optional string fingerprint = 234678500;
      Returns:
      This builder for chaining.
    • setFingerprintBytes

      public InstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
       The fingerprint of the target pools information. Use this optional
       property to prevent conflicts when multiple users change the target pools
       settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get
       method. Then, include the fingerprint in your request to ensure that you
       do not overwrite changes that were applied from another
       concurrent request.
       
      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 list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPoolsList in interface InstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      A list containing the targetPools.
    • getTargetPoolsCount

      public int getTargetPoolsCount()
       The list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPoolsCount in interface InstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Returns:
      The count of targetPools.
    • getTargetPools

      public String getTargetPools(int index)
       The list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPools in interface InstanceGroupManagersSetTargetPoolsRequestOrBuilder
      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 list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Specified by:
      getTargetPoolsBytes in interface InstanceGroupManagersSetTargetPoolsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the targetPools at the given index.
    • setTargetPools

      public InstanceGroupManagersSetTargetPoolsRequest.Builder setTargetPools(int index, String value)
       The list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      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 list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Parameters:
      value - The targetPools to add.
      Returns:
      This builder for chaining.
    • addAllTargetPools

       The list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Parameters:
      values - The targetPools to add.
      Returns:
      This builder for chaining.
    • clearTargetPools

       The list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Returns:
      This builder for chaining.
    • addTargetPoolsBytes

      public InstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPoolsBytes(com.google.protobuf.ByteString value)
       The list of target pool URLs that instances in this managed instance group
       belong to. The managed instance group applies these target pools to all
       of the instances in the group. Existing instances and new instances in the
       group all receive these target pool settings.
       
      repeated string target_pools = 336072617;
      Parameters:
      value - The bytes of the targetPools to add.
      Returns:
      This builder for chaining.