public static final class ListTransferRunsRequest.Builder extends GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder> implements ListTransferRunsRequestOrBuilder
A request to list data transfer runs. UI can use this method to show/filter specific data transfer runs. The data source can use this method to request all scheduled transfer runs.Protobuf type
google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest
Modifier and Type | Method and Description |
---|---|
ListTransferRunsRequest.Builder |
addAllStates(java.lang.Iterable<? extends TransferState> values)
When specified, only transfer runs with requested states are returned.
|
ListTransferRunsRequest.Builder |
addAllStatesValue(java.lang.Iterable<java.lang.Integer> values)
When specified, only transfer runs with requested states are returned.
|
ListTransferRunsRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTransferRunsRequest.Builder |
addStates(TransferState value)
When specified, only transfer runs with requested states are returned.
|
ListTransferRunsRequest.Builder |
addStatesValue(int value)
When specified, only transfer runs with requested states are returned.
|
ListTransferRunsRequest |
build() |
ListTransferRunsRequest |
buildPartial() |
ListTransferRunsRequest.Builder |
clear() |
ListTransferRunsRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListTransferRunsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListTransferRunsRequest.Builder |
clearPageSize()
Page size.
|
ListTransferRunsRequest.Builder |
clearPageToken()
Pagination token, which can be used to request a specific page
of `ListTransferRunsRequest` list results.
|
ListTransferRunsRequest.Builder |
clearParent()
Name of transfer configuration for which transfer runs should be retrieved.
|
ListTransferRunsRequest.Builder |
clearRunAttempt()
Indicates how run attempts are to be pulled.
|
ListTransferRunsRequest.Builder |
clearStates()
When specified, only transfer runs with requested states are returned.
|
ListTransferRunsRequest.Builder |
clone() |
ListTransferRunsRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Page size.
|
java.lang.String |
getPageToken()
Pagination token, which can be used to request a specific page
of `ListTransferRunsRequest` list results.
|
ByteString |
getPageTokenBytes()
Pagination token, which can be used to request a specific page
of `ListTransferRunsRequest` list results.
|
java.lang.String |
getParent()
Name of transfer configuration for which transfer runs should be retrieved.
|
ByteString |
getParentBytes()
Name of transfer configuration for which transfer runs should be retrieved.
|
ListTransferRunsRequest.RunAttempt |
getRunAttempt()
Indicates how run attempts are to be pulled.
|
int |
getRunAttemptValue()
Indicates how run attempts are to be pulled.
|
TransferState |
getStates(int index)
When specified, only transfer runs with requested states are returned.
|
int |
getStatesCount()
When specified, only transfer runs with requested states are returned.
|
java.util.List<TransferState> |
getStatesList()
When specified, only transfer runs with requested states are returned.
|
int |
getStatesValue(int index)
When specified, only transfer runs with requested states are returned.
|
java.util.List<java.lang.Integer> |
getStatesValueList()
When specified, only transfer runs with requested states are returned.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTransferRunsRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListTransferRunsRequest.Builder |
mergeFrom(ListTransferRunsRequest other) |
ListTransferRunsRequest.Builder |
mergeFrom(Message other) |
ListTransferRunsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListTransferRunsRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTransferRunsRequest.Builder |
setPageSize(int value)
Page size.
|
ListTransferRunsRequest.Builder |
setPageToken(java.lang.String value)
Pagination token, which can be used to request a specific page
of `ListTransferRunsRequest` list results.
|
ListTransferRunsRequest.Builder |
setPageTokenBytes(ByteString value)
Pagination token, which can be used to request a specific page
of `ListTransferRunsRequest` list results.
|
ListTransferRunsRequest.Builder |
setParent(java.lang.String value)
Name of transfer configuration for which transfer runs should be retrieved.
|
ListTransferRunsRequest.Builder |
setParentBytes(ByteString value)
Name of transfer configuration for which transfer runs should be retrieved.
|
ListTransferRunsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListTransferRunsRequest.Builder |
setRunAttempt(ListTransferRunsRequest.RunAttempt value)
Indicates how run attempts are to be pulled.
|
ListTransferRunsRequest.Builder |
setRunAttemptValue(int value)
Indicates how run attempts are to be pulled.
|
ListTransferRunsRequest.Builder |
setStates(int index,
TransferState value)
When specified, only transfer runs with requested states are returned.
|
ListTransferRunsRequest.Builder |
setStatesValue(int index,
int value)
When specified, only transfer runs with requested states are returned.
|
ListTransferRunsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTransferRunsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTransferRunsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTransferRunsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder mergeFrom(ListTransferRunsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public ListTransferRunsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListTransferRunsRequest.Builder>
java.io.IOException
public java.lang.String getParent()
Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}`.
string parent = 1;
getParent
in interface ListTransferRunsRequestOrBuilder
public ByteString getParentBytes()
Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}`.
string parent = 1;
getParentBytes
in interface ListTransferRunsRequestOrBuilder
public ListTransferRunsRequest.Builder setParent(java.lang.String value)
Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}`.
string parent = 1;
public ListTransferRunsRequest.Builder clearParent()
Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}`.
string parent = 1;
public ListTransferRunsRequest.Builder setParentBytes(ByteString value)
Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}`.
string parent = 1;
public java.util.List<TransferState> getStatesList()
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
getStatesList
in interface ListTransferRunsRequestOrBuilder
public int getStatesCount()
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
getStatesCount
in interface ListTransferRunsRequestOrBuilder
public TransferState getStates(int index)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
getStates
in interface ListTransferRunsRequestOrBuilder
public ListTransferRunsRequest.Builder setStates(int index, TransferState value)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
public ListTransferRunsRequest.Builder addStates(TransferState value)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
public ListTransferRunsRequest.Builder addAllStates(java.lang.Iterable<? extends TransferState> values)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
public ListTransferRunsRequest.Builder clearStates()
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
public java.util.List<java.lang.Integer> getStatesValueList()
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
getStatesValueList
in interface ListTransferRunsRequestOrBuilder
public int getStatesValue(int index)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
getStatesValue
in interface ListTransferRunsRequestOrBuilder
public ListTransferRunsRequest.Builder setStatesValue(int index, int value)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
public ListTransferRunsRequest.Builder addStatesValue(int value)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
public ListTransferRunsRequest.Builder addAllStatesValue(java.lang.Iterable<java.lang.Integer> values)
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
public java.lang.String getPageToken()
Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.
string page_token = 3;
getPageToken
in interface ListTransferRunsRequestOrBuilder
public ByteString getPageTokenBytes()
Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.
string page_token = 3;
getPageTokenBytes
in interface ListTransferRunsRequestOrBuilder
public ListTransferRunsRequest.Builder setPageToken(java.lang.String value)
Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.
string page_token = 3;
public ListTransferRunsRequest.Builder clearPageToken()
Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.
string page_token = 3;
public ListTransferRunsRequest.Builder setPageTokenBytes(ByteString value)
Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.
string page_token = 3;
public int getPageSize()
Page size. The default page size is the maximum value of 1000 results.
int32 page_size = 4;
getPageSize
in interface ListTransferRunsRequestOrBuilder
public ListTransferRunsRequest.Builder setPageSize(int value)
Page size. The default page size is the maximum value of 1000 results.
int32 page_size = 4;
public ListTransferRunsRequest.Builder clearPageSize()
Page size. The default page size is the maximum value of 1000 results.
int32 page_size = 4;
public int getRunAttemptValue()
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
getRunAttemptValue
in interface ListTransferRunsRequestOrBuilder
public ListTransferRunsRequest.Builder setRunAttemptValue(int value)
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
public ListTransferRunsRequest.RunAttempt getRunAttempt()
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
getRunAttempt
in interface ListTransferRunsRequestOrBuilder
public ListTransferRunsRequest.Builder setRunAttempt(ListTransferRunsRequest.RunAttempt value)
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
public ListTransferRunsRequest.Builder clearRunAttempt()
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
public final ListTransferRunsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>
public final ListTransferRunsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTransferRunsRequest.Builder>