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<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
- com.google.longrunning.ListOperationsResponse.Builder
-
- All Implemented Interfaces:
ListOperationsResponseOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ListOperationsResponse
public static final class ListOperationsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder> implements ListOperationsResponseOrBuilder
The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
Protobuf typegoogle.longrunning.ListOperationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOperationsResponse.Builder
addAllOperations(java.lang.Iterable<? extends Operation> values)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
addOperations(int index, Operation value)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
addOperations(int index, Operation.Builder builderForValue)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
addOperations(Operation value)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
addOperations(Operation.Builder builderForValue)
A list of operations that matches the specified filter in the request.Operation.Builder
addOperationsBuilder()
A list of operations that matches the specified filter in the request.Operation.Builder
addOperationsBuilder(int index)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ListOperationsResponse
build()
ListOperationsResponse
buildPartial()
ListOperationsResponse.Builder
clear()
ListOperationsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListOperationsResponse.Builder
clearNextPageToken()
The standard List next-page token.ListOperationsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListOperationsResponse.Builder
clearOperations()
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
clone()
ListOperationsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getNextPageToken()
The standard List next-page token.com.google.protobuf.ByteString
getNextPageTokenBytes()
The standard List next-page token.Operation
getOperations(int index)
A list of operations that matches the specified filter in the request.Operation.Builder
getOperationsBuilder(int index)
A list of operations that matches the specified filter in the request.java.util.List<Operation.Builder>
getOperationsBuilderList()
A list of operations that matches the specified filter in the request.int
getOperationsCount()
A list of operations that matches the specified filter in the request.java.util.List<Operation>
getOperationsList()
A list of operations that matches the specified filter in the request.OperationOrBuilder
getOperationsOrBuilder(int index)
A list of operations that matches the specified filter in the request.java.util.List<? extends OperationOrBuilder>
getOperationsOrBuilderList()
A list of operations that matches the specified filter in the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListOperationsResponse.Builder
mergeFrom(ListOperationsResponse other)
ListOperationsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListOperationsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListOperationsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListOperationsResponse.Builder
removeOperations(int index)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ListOperationsResponse.Builder
setNextPageToken(java.lang.String value)
The standard List next-page token.ListOperationsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
The standard List next-page token.ListOperationsResponse.Builder
setOperations(int index, Operation value)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
setOperations(int index, Operation.Builder builderForValue)
A list of operations that matches the specified filter in the request.ListOperationsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ListOperationsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Overrides:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
clear
public ListOperationsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ListOperationsResponse.Builder>
-
getDefaultInstanceForType
public ListOperationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListOperationsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListOperationsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListOperationsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
setField
public ListOperationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
clearField
public ListOperationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
clearOneof
public ListOperationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
setRepeatedField
public ListOperationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
addRepeatedField
public ListOperationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
mergeFrom
public ListOperationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListOperationsResponse.Builder>
-
mergeFrom
public ListOperationsResponse.Builder mergeFrom(ListOperationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,ListOperationsResponse.Builder>
-
mergeFrom
public ListOperationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListOperationsResponse.Builder>
- Throws:
java.io.IOException
-
getOperationsList
public java.util.List<Operation> getOperationsList()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
- Specified by:
getOperationsList
in 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:
getOperationsCount
in interfaceListOperationsResponseOrBuilder
-
getOperations
public Operation getOperations(int index)
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
- Specified by:
getOperations
in interfaceListOperationsResponseOrBuilder
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
addAllOperations
public ListOperationsResponse.Builder addAllOperations(java.lang.Iterable<? extends Operation> values)
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
-
clearOperations
public ListOperationsResponse.Builder clearOperations()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
-
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;
-
getOperationsBuilder
public Operation.Builder getOperationsBuilder(int index)
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
-
getOperationsOrBuilder
public OperationOrBuilder getOperationsOrBuilder(int index)
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
- Specified by:
getOperationsOrBuilder
in interfaceListOperationsResponseOrBuilder
-
getOperationsOrBuilderList
public java.util.List<? extends OperationOrBuilder> getOperationsOrBuilderList()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
- Specified by:
getOperationsOrBuilderList
in interfaceListOperationsResponseOrBuilder
-
addOperationsBuilder
public Operation.Builder addOperationsBuilder()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
-
addOperationsBuilder
public Operation.Builder addOperationsBuilder(int index)
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
-
getOperationsBuilderList
public java.util.List<Operation.Builder> getOperationsBuilderList()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
-
getNextPageToken
public java.lang.String getNextPageToken()
The standard List next-page token.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListOperationsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
The standard List next-page token.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListOperationsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListOperationsResponse.Builder setNextPageToken(java.lang.String value)
The standard List next-page token.
string next_page_token = 2;
- 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;
- 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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListOperationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
mergeUnknownFields
public final ListOperationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
-