Class ListOperationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ListOperationsResponse,ListOperationsResponse.Builder>
com.google.longrunning.ListOperationsResponse.Builder
All Implemented Interfaces:
ListOperationsResponseOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
ListOperationsResponse

public static final class ListOperationsResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ListOperationsResponse,ListOperationsResponse.Builder> implements ListOperationsResponseOrBuilder
 The response message for
 [Operations.ListOperations][google.longrunning.Operations.ListOperations].
 
Protobuf type google.longrunning.ListOperationsResponse
  • Method Details

    • getOperationsList

      public List<Operation> getOperationsList()
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
      Specified by:
      getOperationsList in interface ListOperationsResponseOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
      Specified by:
      getOperationsCount in interface ListOperationsResponseOrBuilder
    • getOperations

      public Operation getOperations(int index)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
      Specified by:
      getOperations in interface ListOperationsResponseOrBuilder
    • setOperations

      public ListOperationsResponse.Builder setOperations(int index, Operation value)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • setOperations

      public ListOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • addOperations

      public ListOperationsResponse.Builder addOperations(Operation value)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • addOperations

      public ListOperationsResponse.Builder addOperations(int index, Operation value)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • addOperations

      public ListOperationsResponse.Builder addOperations(Operation.Builder builderForValue)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • addOperations

      public ListOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • addAllOperations

      public ListOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • clearOperations

      public ListOperationsResponse.Builder clearOperations()
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • removeOperations

      public ListOperationsResponse.Builder removeOperations(int index)
       A list of operations that matches the specified filter in the request.
       
      repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];
    • getNextPageToken

      public String getNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2 [json_name = "nextPageToken"];
      Specified by:
      getNextPageToken in interface ListOperationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The standard List next-page token.
       
      string next_page_token = 2 [json_name = "nextPageToken"];
      Specified by:
      getNextPageTokenBytes in interface ListOperationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListOperationsResponse.Builder setNextPageToken(String value)
       The standard List next-page token.
       
      string next_page_token = 2 [json_name = "nextPageToken"];
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListOperationsResponse.Builder clearNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2 [json_name = "nextPageToken"];
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListOperationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       The standard List next-page token.
       
      string next_page_token = 2 [json_name = "nextPageToken"];
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.