Package com.google.longrunning
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllOperations(Iterable<? extends Operation> values) A list of operations that matches the specified filter in the request.addAllUnreachable(Iterable<String> values) Unordered list.addOperations(int index, Operation value) A list of operations that matches the specified filter in the request.addOperations(int index, Operation.Builder builderForValue) A list of operations that matches the specified filter in the request.addOperations(Operation value) A list of operations that matches the specified filter in the request.addOperations(Operation.Builder builderForValue) A list of operations that matches the specified filter in the request.addUnreachable(String value) Unordered list.addUnreachableBytes(com.google.protobuf.ByteString value) Unordered list.The standard List next-page token.A list of operations that matches the specified filter in the request.Unordered list.The standard List next-page token.com.google.protobuf.ByteStringThe standard List next-page token.getOperations(int index) A list of operations that matches the specified filter in the request.intA list of operations that matches the specified filter in the request.A list of operations that matches the specified filter in the request.getUnreachable(int index) Unordered list.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Unordered list.intUnordered list.Unordered list.removeOperations(int index) A list of operations that matches the specified filter in the request.setNextPageToken(String value) The standard List next-page token.setNextPageTokenBytes(com.google.protobuf.ByteString value) The standard List next-page token.setOperations(int index, Operation value) A list of operations that matches the specified filter in the request.setOperations(int index, Operation.Builder builderForValue) A list of operations that matches the specified filter in the request.setUnreachable(int index, String value) Unordered list.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOperationsList
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];- Specified by:
getOperationsListin interfaceListOperationsResponseOrBuilder
-
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:
getOperationsCountin interfaceListOperationsResponseOrBuilder
-
getOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"];- Specified by:
getOperationsin interfaceListOperationsResponseOrBuilder
-
setOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
setOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
addAllOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
clearOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
removeOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1 [json_name = "operations"]; -
getNextPageToken
The standard List next-page token.
string next_page_token = 2 [json_name = "nextPageToken"];- Specified by:
getNextPageTokenin interfaceListOperationsResponseOrBuilder- 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:
getNextPageTokenBytesin interfaceListOperationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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
The standard List next-page token.
string next_page_token = 2 [json_name = "nextPageToken"];- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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.
-
getUnreachableList
Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachableListin interfaceListOperationsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachableCountin interfaceListOperationsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachablein interfaceListOperationsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachableBytesin interfaceListOperationsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Returns:
- This builder for chaining.
-
addUnreachableBytes
Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3 [json_name = "unreachable", (.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-