Class InstanceGroupManagersListManagedInstancesResponse.Builder

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

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

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

      public InstanceGroupManagersListManagedInstancesResponse.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<InstanceGroupManagersListManagedInstancesResponse.Builder>
      Throws:
      IOException
    • getManagedInstancesList

      public List<ManagedInstance> getManagedInstancesList()
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
      Specified by:
      getManagedInstancesList in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
    • getManagedInstancesCount

      public int getManagedInstancesCount()
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
      Specified by:
      getManagedInstancesCount in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
    • getManagedInstances

      public ManagedInstance getManagedInstances(int index)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
      Specified by:
      getManagedInstances in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
    • setManagedInstances

      public InstanceGroupManagersListManagedInstancesResponse.Builder setManagedInstances(int index, ManagedInstance value)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • setManagedInstances

      public InstanceGroupManagersListManagedInstancesResponse.Builder setManagedInstances(int index, ManagedInstance.Builder builderForValue)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • addManagedInstances

       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • addManagedInstances

      public InstanceGroupManagersListManagedInstancesResponse.Builder addManagedInstances(int index, ManagedInstance value)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • addManagedInstances

       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • addManagedInstances

      public InstanceGroupManagersListManagedInstancesResponse.Builder addManagedInstances(int index, ManagedInstance.Builder builderForValue)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • addAllManagedInstances

      public InstanceGroupManagersListManagedInstancesResponse.Builder addAllManagedInstances(Iterable<? extends ManagedInstance> values)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • clearManagedInstances

       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • removeManagedInstances

      public InstanceGroupManagersListManagedInstancesResponse.Builder removeManagedInstances(int index)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • getManagedInstancesBuilder

      public ManagedInstance.Builder getManagedInstancesBuilder(int index)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • getManagedInstancesOrBuilder

      public ManagedInstanceOrBuilder getManagedInstancesOrBuilder(int index)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
      Specified by:
      getManagedInstancesOrBuilder in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
    • getManagedInstancesOrBuilderList

      public List<? extends ManagedInstanceOrBuilder> getManagedInstancesOrBuilderList()
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
      Specified by:
      getManagedInstancesOrBuilderList in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
    • addManagedInstancesBuilder

      public ManagedInstance.Builder addManagedInstancesBuilder()
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • addManagedInstancesBuilder

      public ManagedInstance.Builder addManagedInstancesBuilder(int index)
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • getManagedInstancesBuilderList

      public List<ManagedInstance.Builder> getManagedInstancesBuilderList()
       Output only. [Output Only] The list of instances in the managed instance group.
       
      repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;
    • hasNextPageToken

      public boolean hasNextPageToken()
       Output only. [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      hasNextPageToken in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
      Returns:
      Whether the nextPageToken field is set.
    • getNextPageToken

      public String getNextPageToken()
       Output only. [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      getNextPageToken in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Output only. [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      getNextPageTokenBytes in interface InstanceGroupManagersListManagedInstancesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

       Output only. [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

       Output only. [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public InstanceGroupManagersListManagedInstancesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.