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.UpdateTransferConfigRequest
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<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public UpdateTransferConfigRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public UpdateTransferConfigRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public UpdateTransferConfigRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.Builder mergeFrom(UpdateTransferConfigRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public UpdateTransferConfigRequest.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<UpdateTransferConfigRequest.Builder>
java.io.IOException
public boolean hasTransferConfig()
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;
hasTransferConfig
in interface UpdateTransferConfigRequestOrBuilder
public TransferConfig getTransferConfig()
Data transfer configuration to create.
.google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1;
getTransferConfig
in interface UpdateTransferConfigRequestOrBuilder
public 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 UpdateTransferConfigRequestOrBuilder
public 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 UpdateTransferConfigRequestOrBuilder
public 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 UpdateTransferConfigRequestOrBuilder
public 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 UpdateTransferConfigRequestOrBuilder
public FieldMask getUpdateMask()
Required list of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 4;
getUpdateMask
in interface UpdateTransferConfigRequestOrBuilder
public 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 UpdateTransferConfigRequestOrBuilder
public final UpdateTransferConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>
public final UpdateTransferConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<UpdateTransferConfigRequest.Builder>