Package com.google.longrunning
Class ListOperationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ListOperationsRequest,ListOperationsRequest.Builder>
com.google.longrunning.ListOperationsRequest.Builder
- All Implemented Interfaces:
ListOperationsRequestOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- ListOperationsRequest
public static final class ListOperationsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ListOperationsRequest,ListOperationsRequest.Builder>
implements ListOperationsRequestOrBuilder
The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].Protobuf type
google.longrunning.ListOperationsRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionThe standard list filter.The name of the operation's parent resource.The standard list page size.The standard list page token.When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field.The standard list filter.com.google.protobuf.ByteStringThe standard list filter.getName()The name of the operation's parent resource.com.google.protobuf.ByteStringThe name of the operation's parent resource.intThe standard list page size.The standard list page token.com.google.protobuf.ByteStringThe standard list page token.booleanWhen set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field.The standard list filter.setFilterBytes(com.google.protobuf.ByteString value) The standard list filter.The name of the operation's parent resource.setNameBytes(com.google.protobuf.ByteString value) The name of the operation's parent resource.setPageSize(int value) The standard list page size.setPageToken(String value) The standard list page token.setPageTokenBytes(com.google.protobuf.ByteString value) The standard list page token.setReturnPartialSuccess(boolean value) When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field.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
-
getName
The name of the operation's parent resource.
string name = 4 [json_name = "name"];- Specified by:
getNamein interfaceListOperationsRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the operation's parent resource.
string name = 4 [json_name = "name"];- Specified by:
getNameBytesin interfaceListOperationsRequestOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the operation's parent resource.
string name = 4 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the operation's parent resource.
string name = 4 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
The name of the operation's parent resource.
string name = 4 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFilter
The standard list filter.
string filter = 1 [json_name = "filter"];- Specified by:
getFilterin interfaceListOperationsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()The standard list filter.
string filter = 1 [json_name = "filter"];- Specified by:
getFilterBytesin interfaceListOperationsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
The standard list filter.
string filter = 1 [json_name = "filter"];- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
The standard list filter.
string filter = 1 [json_name = "filter"];- Returns:
- This builder for chaining.
-
setFilterBytes
The standard list filter.
string filter = 1 [json_name = "filter"];- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()The standard list page size.
int32 page_size = 2 [json_name = "pageSize"];- Specified by:
getPageSizein interfaceListOperationsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
The standard list page size.
int32 page_size = 2 [json_name = "pageSize"];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
The standard list page size.
int32 page_size = 2 [json_name = "pageSize"];- Returns:
- This builder for chaining.
-
getPageToken
The standard list page token.
string page_token = 3 [json_name = "pageToken"];- Specified by:
getPageTokenin interfaceListOperationsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()The standard list page token.
string page_token = 3 [json_name = "pageToken"];- Specified by:
getPageTokenBytesin interfaceListOperationsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
The standard list page token.
string page_token = 3 [json_name = "pageToken"];- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
The standard list page token.
string page_token = 3 [json_name = "pageToken"];- Returns:
- This builder for chaining.
-
setPageTokenBytes
The standard list page token.
string page_token = 3 [json_name = "pageToken"];- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getReturnPartialSuccess
public boolean getReturnPartialSuccess()When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
bool return_partial_success = 5 [json_name = "returnPartialSuccess"];- Specified by:
getReturnPartialSuccessin interfaceListOperationsRequestOrBuilder- Returns:
- The returnPartialSuccess.
-
setReturnPartialSuccess
When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
bool return_partial_success = 5 [json_name = "returnPartialSuccess"];- Parameters:
value- The returnPartialSuccess to set.- Returns:
- This builder for chaining.
-
clearReturnPartialSuccess
When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
bool return_partial_success = 5 [json_name = "returnPartialSuccess"];- Returns:
- This builder for chaining.
-