Class InstanceGroupsListInstancesRequest.Builder

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

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

      public InstanceGroupsListInstancesRequest 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

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

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

      public InstanceGroupsListInstancesRequest.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<InstanceGroupsListInstancesRequest.Builder>
      Throws:
      IOException
    • hasInstanceState

      public boolean hasInstanceState()
       A filter for the state of the instances in the instance group. Valid
       options are ALL or RUNNING. If you do not specify
       this parameter the list includes all instances regardless of their state.
       Check the InstanceState enum for the list of possible values.
       
      optional string instance_state = 92223591;
      Specified by:
      hasInstanceState in interface InstanceGroupsListInstancesRequestOrBuilder
      Returns:
      Whether the instanceState field is set.
    • getInstanceState

      public String getInstanceState()
       A filter for the state of the instances in the instance group. Valid
       options are ALL or RUNNING. If you do not specify
       this parameter the list includes all instances regardless of their state.
       Check the InstanceState enum for the list of possible values.
       
      optional string instance_state = 92223591;
      Specified by:
      getInstanceState in interface InstanceGroupsListInstancesRequestOrBuilder
      Returns:
      The instanceState.
    • getInstanceStateBytes

      public com.google.protobuf.ByteString getInstanceStateBytes()
       A filter for the state of the instances in the instance group. Valid
       options are ALL or RUNNING. If you do not specify
       this parameter the list includes all instances regardless of their state.
       Check the InstanceState enum for the list of possible values.
       
      optional string instance_state = 92223591;
      Specified by:
      getInstanceStateBytes in interface InstanceGroupsListInstancesRequestOrBuilder
      Returns:
      The bytes for instanceState.
    • setInstanceState

      public InstanceGroupsListInstancesRequest.Builder setInstanceState(String value)
       A filter for the state of the instances in the instance group. Valid
       options are ALL or RUNNING. If you do not specify
       this parameter the list includes all instances regardless of their state.
       Check the InstanceState enum for the list of possible values.
       
      optional string instance_state = 92223591;
      Parameters:
      value - The instanceState to set.
      Returns:
      This builder for chaining.
    • clearInstanceState

      public InstanceGroupsListInstancesRequest.Builder clearInstanceState()
       A filter for the state of the instances in the instance group. Valid
       options are ALL or RUNNING. If you do not specify
       this parameter the list includes all instances regardless of their state.
       Check the InstanceState enum for the list of possible values.
       
      optional string instance_state = 92223591;
      Returns:
      This builder for chaining.
    • setInstanceStateBytes

      public InstanceGroupsListInstancesRequest.Builder setInstanceStateBytes(com.google.protobuf.ByteString value)
       A filter for the state of the instances in the instance group. Valid
       options are ALL or RUNNING. If you do not specify
       this parameter the list includes all instances regardless of their state.
       Check the InstanceState enum for the list of possible values.
       
      optional string instance_state = 92223591;
      Parameters:
      value - The bytes for instanceState to set.
      Returns:
      This builder for chaining.