public final class CreateDataSourceDefinitionRequest extends GeneratedMessageV3 implements CreateDataSourceDefinitionRequestOrBuilder
Represents the request of the CreateDataSourceDefinition method.
Protobuf type google.cloud.bigquery.datatransfer.v1.CreateDataSourceDefinitionRequest
Static Fields
DATA_SOURCE_DEFINITION_FIELD_NUMBER
public static final int DATA_SOURCE_DEFINITION_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateDataSourceDefinitionRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateDataSourceDefinitionRequest.Builder newBuilder()
Returns
newBuilder(CreateDataSourceDefinitionRequest prototype)
public static CreateDataSourceDefinitionRequest.Builder newBuilder(CreateDataSourceDefinitionRequest prototype)
Parameter
Returns
public static CreateDataSourceDefinitionRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDataSourceDefinitionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateDataSourceDefinitionRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateDataSourceDefinitionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateDataSourceDefinitionRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateDataSourceDefinitionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDataSourceDefinitionRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateDataSourceDefinitionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDataSourceDefinitionRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDataSourceDefinitionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateDataSourceDefinitionRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateDataSourceDefinitionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateDataSourceDefinitionRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDataSourceDefinition()
public DataSourceDefinition getDataSourceDefinition()
Data source definition.
.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;
Returns
getDataSourceDefinitionOrBuilder()
public DataSourceDefinitionOrBuilder getDataSourceDefinitionOrBuilder()
Data source definition.
.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;
Returns
getDefaultInstanceForType()
public CreateDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
getParent()
public String getParent()
The BigQuery project id for which data source definition is associated.
Must be in the form: projects/{project_id}/locations/{location_id}
string parent = 1;
Returns
getParentBytes()
public ByteString getParentBytes()
The BigQuery project id for which data source definition is associated.
Must be in the form: projects/{project_id}/locations/{location_id}
string parent = 1;
Returns
getParserForType()
public Parser<CreateDataSourceDefinitionRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDataSourceDefinition()
public boolean hasDataSourceDefinition()
Data source definition.
.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateDataSourceDefinitionRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateDataSourceDefinitionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
toBuilder()
public CreateDataSourceDefinitionRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions