public static final class UpdateTransferConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder> implements UpdateTransferConfigRequestOrBuilder
A request to update a transfer configuration. To update the user id of the transfer configuration, an authorization code needs to be provided.Protobuf type
google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic UpdateTransferConfigRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic UpdateTransferConfigRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic UpdateTransferConfigRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder mergeFrom(UpdateTransferConfigRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public UpdateTransferConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<UpdateTransferConfigRequest.Builder>java.io.IOExceptionpublic boolean hasTransferConfig()
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;hasTransferConfig in interface UpdateTransferConfigRequestOrBuilderpublic TransferConfig getTransferConfig()
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;getTransferConfig in interface UpdateTransferConfigRequestOrBuilderpublic UpdateTransferConfigRequest.Builder setTransferConfig(TransferConfig value)
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;public UpdateTransferConfigRequest.Builder setTransferConfig(TransferConfig.Builder builderForValue)
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;public UpdateTransferConfigRequest.Builder mergeTransferConfig(TransferConfig value)
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;public UpdateTransferConfigRequest.Builder clearTransferConfig()
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;public TransferConfig.Builder getTransferConfigBuilder()
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;public TransferConfigOrBuilder getTransferConfigOrBuilder()
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;getTransferConfigOrBuilder in interface UpdateTransferConfigRequestOrBuilderpublic java.lang.String getAuthorizationCode()
Optional OAuth2 authorization code to use with this transfer configuration. If it is provided, the transfer configuration will be associated with the authorizing user. In order to obtain authorization_code, please make a request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> * client_id should be OAuth client_id of BigQuery DTS API for the given data source returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. * redirect_uri is an optional parameter. If not specified, then authorization code is posted to the opener of authorization flow window. Otherwise it will be sent to the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization code should be returned in the title bar of the browser, with the page text prompting the user to copy the code and paste it in the application.
string authorization_code = 3;getAuthorizationCode in interface UpdateTransferConfigRequestOrBuilderpublic ByteString getAuthorizationCodeBytes()
Optional OAuth2 authorization code to use with this transfer configuration. If it is provided, the transfer configuration will be associated with the authorizing user. In order to obtain authorization_code, please make a request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> * client_id should be OAuth client_id of BigQuery DTS API for the given data source returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. * redirect_uri is an optional parameter. If not specified, then authorization code is posted to the opener of authorization flow window. Otherwise it will be sent to the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization code should be returned in the title bar of the browser, with the page text prompting the user to copy the code and paste it in the application.
string authorization_code = 3;getAuthorizationCodeBytes in interface UpdateTransferConfigRequestOrBuilderpublic UpdateTransferConfigRequest.Builder setAuthorizationCode(java.lang.String value)
Optional OAuth2 authorization code to use with this transfer configuration. If it is provided, the transfer configuration will be associated with the authorizing user. In order to obtain authorization_code, please make a request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> * client_id should be OAuth client_id of BigQuery DTS API for the given data source returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. * redirect_uri is an optional parameter. If not specified, then authorization code is posted to the opener of authorization flow window. Otherwise it will be sent to the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization code should be returned in the title bar of the browser, with the page text prompting the user to copy the code and paste it in the application.
string authorization_code = 3;public UpdateTransferConfigRequest.Builder clearAuthorizationCode()
Optional OAuth2 authorization code to use with this transfer configuration. If it is provided, the transfer configuration will be associated with the authorizing user. In order to obtain authorization_code, please make a request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> * client_id should be OAuth client_id of BigQuery DTS API for the given data source returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. * redirect_uri is an optional parameter. If not specified, then authorization code is posted to the opener of authorization flow window. Otherwise it will be sent to the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization code should be returned in the title bar of the browser, with the page text prompting the user to copy the code and paste it in the application.
string authorization_code = 3;public UpdateTransferConfigRequest.Builder setAuthorizationCodeBytes(ByteString value)
Optional OAuth2 authorization code to use with this transfer configuration. If it is provided, the transfer configuration will be associated with the authorizing user. In order to obtain authorization_code, please make a request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> * client_id should be OAuth client_id of BigQuery DTS API for the given data source returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. * redirect_uri is an optional parameter. If not specified, then authorization code is posted to the opener of authorization flow window. Otherwise it will be sent to the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization code should be returned in the title bar of the browser, with the page text prompting the user to copy the code and paste it in the application.
string authorization_code = 3;public boolean hasUpdateMask()
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;hasUpdateMask in interface UpdateTransferConfigRequestOrBuilderpublic FieldMask getUpdateMask()
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;getUpdateMask in interface UpdateTransferConfigRequestOrBuilderpublic UpdateTransferConfigRequest.Builder setUpdateMask(FieldMask value)
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;public UpdateTransferConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;public UpdateTransferConfigRequest.Builder mergeUpdateMask(FieldMask value)
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;public UpdateTransferConfigRequest.Builder clearUpdateMask()
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;public FieldMask.Builder getUpdateMaskBuilder()
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;getUpdateMaskOrBuilder in interface UpdateTransferConfigRequestOrBuilderpublic final UpdateTransferConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>public final UpdateTransferConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>