Class ListOperationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListOperationsResponse.Builder>
com.google.container.v1.ListOperationsResponse.Builder
All Implemented Interfaces:
ListOperationsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListOperationsResponse

public static final class ListOperationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListOperationsResponse.Builder> implements ListOperationsResponseOrBuilder
 ListOperationsResponse is the result of ListOperationsRequest.
 
Protobuf type google.container.v1.ListOperationsResponse
  • 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<ListOperationsResponse.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<ListOperationsResponse.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<ListOperationsResponse.Builder>
    • getDefaultInstanceForType

      public ListOperationsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

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

      public ListOperationsResponse.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<ListOperationsResponse.Builder>
      Throws:
      IOException
    • getOperationsList

      public List<Operation> getOperationsList()
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
      Specified by:
      getOperationsList in interface ListOperationsResponseOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
      Specified by:
      getOperationsCount in interface ListOperationsResponseOrBuilder
    • getOperations

      public Operation getOperations(int index)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
      Specified by:
      getOperations in interface ListOperationsResponseOrBuilder
    • setOperations

      public ListOperationsResponse.Builder setOperations(int index, Operation value)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • setOperations

      public ListOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • addOperations

      public ListOperationsResponse.Builder addOperations(Operation value)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • addOperations

      public ListOperationsResponse.Builder addOperations(int index, Operation value)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • addOperations

      public ListOperationsResponse.Builder addOperations(Operation.Builder builderForValue)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • addOperations

      public ListOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • addAllOperations

      public ListOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • clearOperations

      public ListOperationsResponse.Builder clearOperations()
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • removeOperations

      public ListOperationsResponse.Builder removeOperations(int index)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • getOperationsBuilder

      public Operation.Builder getOperationsBuilder(int index)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • getOperationsOrBuilder

      public OperationOrBuilder getOperationsOrBuilder(int index)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
      Specified by:
      getOperationsOrBuilder in interface ListOperationsResponseOrBuilder
    • getOperationsOrBuilderList

      public List<? extends OperationOrBuilder> getOperationsOrBuilderList()
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
      Specified by:
      getOperationsOrBuilderList in interface ListOperationsResponseOrBuilder
    • addOperationsBuilder

      public Operation.Builder addOperationsBuilder()
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • addOperationsBuilder

      public Operation.Builder addOperationsBuilder(int index)
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • getOperationsBuilderList

      public List<Operation.Builder> getOperationsBuilderList()
       A list of operations in the project in the specified zone.
       
      repeated .google.container.v1.Operation operations = 1;
    • getMissingZonesList

      public com.google.protobuf.ProtocolStringList getMissingZonesList()
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Specified by:
      getMissingZonesList in interface ListOperationsResponseOrBuilder
      Returns:
      A list containing the missingZones.
    • getMissingZonesCount

      public int getMissingZonesCount()
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Specified by:
      getMissingZonesCount in interface ListOperationsResponseOrBuilder
      Returns:
      The count of missingZones.
    • getMissingZones

      public String getMissingZones(int index)
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Specified by:
      getMissingZones in interface ListOperationsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The missingZones at the given index.
    • getMissingZonesBytes

      public com.google.protobuf.ByteString getMissingZonesBytes(int index)
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Specified by:
      getMissingZonesBytes in interface ListOperationsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the missingZones at the given index.
    • setMissingZones

      public ListOperationsResponse.Builder setMissingZones(int index, String value)
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Parameters:
      index - The index to set the value at.
      value - The missingZones to set.
      Returns:
      This builder for chaining.
    • addMissingZones

      public ListOperationsResponse.Builder addMissingZones(String value)
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Parameters:
      value - The missingZones to add.
      Returns:
      This builder for chaining.
    • addAllMissingZones

      public ListOperationsResponse.Builder addAllMissingZones(Iterable<String> values)
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Parameters:
      values - The missingZones to add.
      Returns:
      This builder for chaining.
    • clearMissingZones

      public ListOperationsResponse.Builder clearMissingZones()
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Returns:
      This builder for chaining.
    • addMissingZonesBytes

      public ListOperationsResponse.Builder addMissingZonesBytes(com.google.protobuf.ByteString value)
       If any zones are listed here, the list of operations returned
       may be missing the operations from those zones.
       
      repeated string missing_zones = 2;
      Parameters:
      value - The bytes of the missingZones to add.
      Returns:
      This builder for chaining.