Package com.google.longrunning
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.longrunning.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
The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].Protobuf type
google.longrunning.ListOperationsResponse-
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.A list of operations that matches the specified filter in the request.addOperationsBuilder(int index) 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.build()clear()The standard List next-page token.A list of operations that matches the specified filter in the request.Unordered list.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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.getOperationsBuilder(int index) A list of operations that matches the specified filter in the request.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.getOperationsOrBuilder(int index) A list of operations that matches the specified filter in the request.List<? extends OperationOrBuilder>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.com.google.protobuf.ProtocolStringListUnordered list.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListOperationsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListOperationsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListOperationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListOperationsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListOperationsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListOperationsResponse.Builder>- Throws:
IOException
-
getOperationsList
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;- 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;- Specified by:
getOperationsCountin interfaceListOperationsResponseOrBuilder
-
getOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsin interfaceListOperationsResponseOrBuilder
-
setOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
setOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
addOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
addAllOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
clearOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
removeOperations
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
getOperationsBuilder
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
getOperationsOrBuilder
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsOrBuilderin interfaceListOperationsResponseOrBuilder
-
getOperationsOrBuilderList
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsOrBuilderListin interfaceListOperationsResponseOrBuilder
-
addOperationsBuilder
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
addOperationsBuilder
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
getOperationsBuilderList
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1; -
getNextPageToken
The standard List next-page token.
string next_page_token = 2;- 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;- Specified by:
getNextPageTokenBytesin interfaceListOperationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
The standard List next-page token.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
The standard List next-page token.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
The standard List next-page token.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList 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 [(.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 [(.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 [(.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 [(.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 [(.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 [(.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 [(.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 [(.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 [(.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-