Class ListTransferConfigsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTransferConfigsRequest.Builder>
com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder
- All Implemented Interfaces:
ListTransferConfigsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListTransferConfigsRequest
public static final class ListTransferConfigsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListTransferConfigsRequest.Builder>
implements ListTransferConfigsRequestOrBuilder
A request to list data transfers configured for a BigQuery project.Protobuf type
google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllDataSourceIds(Iterable<String> values) When specified, only configurations of requested data sources are returned.addDataSourceIds(String value) When specified, only configurations of requested data sources are returned.addDataSourceIdsBytes(com.google.protobuf.ByteString value) When specified, only configurations of requested data sources are returned.build()clear()When specified, only configurations of requested data sources are returned.Page size.Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results.Required.getDataSourceIds(int index) When specified, only configurations of requested data sources are returned.com.google.protobuf.ByteStringgetDataSourceIdsBytes(int index) When specified, only configurations of requested data sources are returned.intWhen specified, only configurations of requested data sources are returned.com.google.protobuf.ProtocolStringListWhen specified, only configurations of requested data sources 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 `ListTransfersRequest` list results.com.google.protobuf.ByteStringPagination token, which can be used to request a specific page of `ListTransfersRequest` list results.Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDataSourceIds(int index, String value) When specified, only configurations of requested data sources are returned.setPageSize(int value) Page size.setPageToken(String value) Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results.setPageTokenBytes(com.google.protobuf.ByteString value) Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results.Required.setParentBytes(com.google.protobuf.ByteString value) Required.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<ListTransferConfigsRequest.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<ListTransferConfigsRequest.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<ListTransferConfigsRequest.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<ListTransferConfigsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListTransferConfigsRequest.Builder>
-
mergeFrom
public ListTransferConfigsRequest.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<ListTransferConfigsRequest.Builder>- Throws:
IOException
-
getParent
Required. The BigQuery project id for which transfer configs should be returned: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListTransferConfigsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The BigQuery project id for which transfer configs should be returned: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListTransferConfigsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The BigQuery project id for which transfer configs should be returned: `projects/{project_id}` or `projects/{project_id}/locations/{location_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. The BigQuery project id for which transfer configs should be returned: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The BigQuery project id for which transfer configs should be returned: `projects/{project_id}` or `projects/{project_id}/locations/{location_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.
-
getDataSourceIdsList
public com.google.protobuf.ProtocolStringList getDataSourceIdsList()When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Specified by:
getDataSourceIdsListin interfaceListTransferConfigsRequestOrBuilder- Returns:
- A list containing the dataSourceIds.
-
getDataSourceIdsCount
public int getDataSourceIdsCount()When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Specified by:
getDataSourceIdsCountin interfaceListTransferConfigsRequestOrBuilder- Returns:
- The count of dataSourceIds.
-
getDataSourceIds
When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Specified by:
getDataSourceIdsin interfaceListTransferConfigsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dataSourceIds at the given index.
-
getDataSourceIdsBytes
public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Specified by:
getDataSourceIdsBytesin interfaceListTransferConfigsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dataSourceIds at the given index.
-
setDataSourceIds
When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Parameters:
index- The index to set the value at.value- The dataSourceIds to set.- Returns:
- This builder for chaining.
-
addDataSourceIds
When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Parameters:
value- The dataSourceIds to add.- Returns:
- This builder for chaining.
-
addAllDataSourceIds
When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Parameters:
values- The dataSourceIds to add.- Returns:
- This builder for chaining.
-
clearDataSourceIds
When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Returns:
- This builder for chaining.
-
addDataSourceIdsBytes
public ListTransferConfigsRequest.Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) When specified, only configurations of requested data sources are returned.
repeated string data_source_ids = 2;- Parameters:
value- The bytes of the dataSourceIds to add.- Returns:
- This builder for chaining.
-
getPageToken
Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` 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 interfaceListTransferConfigsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` 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 interfaceListTransferConfigsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` 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 `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` 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 `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` 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 interfaceListTransferConfigsRequestOrBuilder- 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.
-