public static final class TransferProto.ListTransferJobsRequest.Builder extends GeneratedMessageV3.Builder<TransferProto.ListTransferJobsRequest.Builder> implements TransferProto.ListTransferJobsRequestOrBuilder
projectId
, jobNames
, and jobStatuses
are query parameters that can
be specified when listing transfer jobs.
Protobuf type google.storagetransfer.v1.ListTransferJobsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.ListTransferJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferProto.ListTransferJobsRequest build()
Returns
buildPartial()
public TransferProto.ListTransferJobsRequest buildPartial()
Returns
clear()
public TransferProto.ListTransferJobsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferProto.ListTransferJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFilter()
public TransferProto.ListTransferJobsRequest.Builder clearFilter()
Required. A list of query parameters specified as JSON text in the form of:
{"projectId":"my_project_id",
"jobNames":["jobid1","jobid2",...],
"jobStatuses":["status1","status2",...]}
Since jobNames
and jobStatuses
support multiple values, their values
must be specified with array notation. projectId
is required.
jobNames
and jobStatuses
are optional. The valid values for
jobStatuses
are case-insensitive:
ENABLED,
DISABLED, and
DELETED.
string filter = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.ListTransferJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPageSize()
public TransferProto.ListTransferJobsRequest.Builder clearPageSize()
The list page size. The max allowed value is 256.
int32 page_size = 4;
Returns
clearPageToken()
public TransferProto.ListTransferJobsRequest.Builder clearPageToken()
The list page token.
string page_token = 5;
Returns
clone()
public TransferProto.ListTransferJobsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferProto.ListTransferJobsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFilter()
public String getFilter()
Required. A list of query parameters specified as JSON text in the form of:
{"projectId":"my_project_id",
"jobNames":["jobid1","jobid2",...],
"jobStatuses":["status1","status2",...]}
Since jobNames
and jobStatuses
support multiple values, their values
must be specified with array notation. projectId
is required.
jobNames
and jobStatuses
are optional. The valid values for
jobStatuses
are case-insensitive:
ENABLED,
DISABLED, and
DELETED.
string filter = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
Required. A list of query parameters specified as JSON text in the form of:
{"projectId":"my_project_id",
"jobNames":["jobid1","jobid2",...],
"jobStatuses":["status1","status2",...]}
Since jobNames
and jobStatuses
support multiple values, their values
must be specified with array notation. projectId
is required.
jobNames
and jobStatuses
are optional. The valid values for
jobStatuses
are case-insensitive:
ENABLED,
DISABLED, and
DELETED.
string filter = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPageSize()
The list page size. The max allowed value is 256.
int32 page_size = 4;
Returns
Type |
Description |
int |
The pageSize.
|
getPageToken()
public String getPageToken()
The list page token.
string page_token = 5;
Returns
Type |
Description |
String |
The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
The list page token.
string page_token = 5;
Returns
Type |
Description |
ByteString |
The bytes for pageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public TransferProto.ListTransferJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferProto.ListTransferJobsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferProto.ListTransferJobsRequest other)
public TransferProto.ListTransferJobsRequest.Builder mergeFrom(TransferProto.ListTransferJobsRequest other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.ListTransferJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.ListTransferJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFilter(String value)
public TransferProto.ListTransferJobsRequest.Builder setFilter(String value)
Required. A list of query parameters specified as JSON text in the form of:
{"projectId":"my_project_id",
"jobNames":["jobid1","jobid2",...],
"jobStatuses":["status1","status2",...]}
Since jobNames
and jobStatuses
support multiple values, their values
must be specified with array notation. projectId
is required.
jobNames
and jobStatuses
are optional. The valid values for
jobStatuses
are case-insensitive:
ENABLED,
DISABLED, and
DELETED.
string filter = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
value |
String
The filter to set.
|
Returns
setFilterBytes(ByteString value)
public TransferProto.ListTransferJobsRequest.Builder setFilterBytes(ByteString value)
Required. A list of query parameters specified as JSON text in the form of:
{"projectId":"my_project_id",
"jobNames":["jobid1","jobid2",...],
"jobStatuses":["status1","status2",...]}
Since jobNames
and jobStatuses
support multiple values, their values
must be specified with array notation. projectId
is required.
jobNames
and jobStatuses
are optional. The valid values for
jobStatuses
are case-insensitive:
ENABLED,
DISABLED, and
DELETED.
string filter = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
value |
ByteString
The bytes for filter to set.
|
Returns
setPageSize(int value)
public TransferProto.ListTransferJobsRequest.Builder setPageSize(int value)
The list page size. The max allowed value is 256.
int32 page_size = 4;
Parameter
Name |
Description |
value |
int
The pageSize to set.
|
Returns
setPageToken(String value)
public TransferProto.ListTransferJobsRequest.Builder setPageToken(String value)
The list page token.
string page_token = 5;
Parameter
Name |
Description |
value |
String
The pageToken to set.
|
Returns
setPageTokenBytes(ByteString value)
public TransferProto.ListTransferJobsRequest.Builder setPageTokenBytes(ByteString value)
The list page token.
string page_token = 5;
Parameter
Name |
Description |
value |
ByteString
The bytes for pageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.ListTransferJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.ListTransferJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides