Class ListTransferRunsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTransferRunsRequest.Builder>
com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.Builder
- All Implemented Interfaces:
ListTransferRunsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListTransferRunsRequest
public static final class ListTransferRunsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListTransferRunsRequest.Builder>
implements ListTransferRunsRequestOrBuilder
A request to list data transfer runs.Protobuf type
google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllStates(Iterable<? extends TransferState> values) When specified, only transfer runs with requested states are returned.addAllStatesValue(Iterable<Integer> values) When specified, only transfer runs with requested states are returned.addStates(TransferState value) When specified, only transfer runs with requested states are returned.addStatesValue(int value) When specified, only transfer runs with requested states are returned.build()clear()Page size.Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results.Required.Indicates how run attempts are to be pulled.When specified, only transfer runs with requested states are returned.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintPage size.Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results.com.google.protobuf.ByteStringPagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results.Required.com.google.protobuf.ByteStringRequired.Indicates how run attempts are to be pulled.intIndicates how run attempts are to be pulled.getStates(int index) When specified, only transfer runs with requested states are returned.intWhen specified, only transfer runs with requested states are returned.When specified, only transfer runs with requested states are returned.intgetStatesValue(int index) When specified, only transfer runs with requested states are returned.When specified, only transfer runs with requested states are returned.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListTransferRunsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setPageSize(int value) Page size.setPageToken(String value) Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results.setPageTokenBytes(com.google.protobuf.ByteString value) Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results.Required.setParentBytes(com.google.protobuf.ByteString value) Required.Indicates how run attempts are to be pulled.setRunAttemptValue(int value) Indicates how run attempts are to be pulled.setStates(int index, TransferState value) When specified, only transfer runs with requested states are returned.setStatesValue(int index, int value) When specified, only transfer runs with requested states are returned.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<ListTransferRunsRequest.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<ListTransferRunsRequest.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<ListTransferRunsRequest.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<ListTransferRunsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListTransferRunsRequest.Builder>
-
mergeFrom
public ListTransferRunsRequest.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<ListTransferRunsRequest.Builder>- Throws:
IOException
-
getParent
Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListTransferRunsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListTransferRunsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getStatesList
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Specified by:
getStatesListin interfaceListTransferRunsRequestOrBuilder- Returns:
- A list containing the states.
-
getStatesCount
public int getStatesCount()When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Specified by:
getStatesCountin interfaceListTransferRunsRequestOrBuilder- Returns:
- The count of states.
-
getStates
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Specified by:
getStatesin interfaceListTransferRunsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The states at the given index.
-
setStates
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Parameters:
index- The index to set the value at.value- The states to set.- Returns:
- This builder for chaining.
-
addStates
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Parameters:
value- The states to add.- Returns:
- This builder for chaining.
-
addAllStates
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Parameters:
values- The states to add.- Returns:
- This builder for chaining.
-
clearStates
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Returns:
- This builder for chaining.
-
getStatesValueList
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Specified by:
getStatesValueListin interfaceListTransferRunsRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for states.
-
getStatesValue
public int getStatesValue(int index) When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Specified by:
getStatesValuein interfaceListTransferRunsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of states at the given index.
-
setStatesValue
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for states to set.- Returns:
- This builder for chaining.
-
addStatesValue
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Parameters:
value- The enum numeric value on the wire for states to add.- Returns:
- This builder for chaining.
-
addAllStatesValue
When specified, only transfer runs with requested states are returned.
repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;- Parameters:
values- The enum numeric values on the wire for states to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getPageTokenin interfaceListTransferRunsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.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;- Specified by:
getPageTokenBytesin interfaceListTransferRunsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
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;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setPageTokenBytes
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;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Page size. The default page size is the maximum value of 1000 results.
int32 page_size = 4;- Specified by:
getPageSizein interfaceListTransferRunsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Page size. The default page size is the maximum value of 1000 results.
int32 page_size = 4;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Page size. The default page size is the maximum value of 1000 results.
int32 page_size = 4;- Returns:
- This builder for chaining.
-
getRunAttemptValue
public int getRunAttemptValue()Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;- Specified by:
getRunAttemptValuein interfaceListTransferRunsRequestOrBuilder- Returns:
- The enum numeric value on the wire for runAttempt.
-
setRunAttemptValue
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;- Parameters:
value- The enum numeric value on the wire for runAttempt to set.- Returns:
- This builder for chaining.
-
getRunAttempt
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;- Specified by:
getRunAttemptin interfaceListTransferRunsRequestOrBuilder- Returns:
- The runAttempt.
-
setRunAttempt
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;- Parameters:
value- The runAttempt to set.- Returns:
- This builder for chaining.
-
clearRunAttempt
Indicates how run attempts are to be pulled.
.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;- Returns:
- This builder for chaining.
-