Class CreateDataSourceDefinitionRequest (2.47.0)

public final class CreateDataSourceDefinitionRequest extends GeneratedMessageV3 implements CreateDataSourceDefinitionRequestOrBuilder

Represents the request of the CreateDataSourceDefinition method.

Protobuf type google.cloud.bigquery.datatransfer.v1.CreateDataSourceDefinitionRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateDataSourceDefinitionRequest

Static Fields

DATA_SOURCE_DEFINITION_FIELD_NUMBER

public static final int DATA_SOURCE_DEFINITION_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateDataSourceDefinitionRequest getDefaultInstance()
Returns
Type Description
CreateDataSourceDefinitionRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateDataSourceDefinitionRequest.Builder newBuilder()
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

newBuilder(CreateDataSourceDefinitionRequest prototype)

public static CreateDataSourceDefinitionRequest.Builder newBuilder(CreateDataSourceDefinitionRequest prototype)
Parameter
Name Description
prototype CreateDataSourceDefinitionRequest
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateDataSourceDefinitionRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateDataSourceDefinitionRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateDataSourceDefinitionRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateDataSourceDefinitionRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateDataSourceDefinitionRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateDataSourceDefinitionRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDataSourceDefinitionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateDataSourceDefinitionRequest> parser()
Returns
Type Description
Parser<CreateDataSourceDefinitionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataSourceDefinition()

public DataSourceDefinition getDataSourceDefinition()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
DataSourceDefinition

getDataSourceDefinitionOrBuilder()

public DataSourceDefinitionOrBuilder getDataSourceDefinitionOrBuilder()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
DataSourceDefinitionOrBuilder

getDefaultInstanceForType()

public CreateDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
Type Description
CreateDataSourceDefinitionRequest

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
Type Description
String

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
Type Description
ByteString

getParserForType()

public Parser<CreateDataSourceDefinitionRequest> getParserForType()
Returns
Type Description
Parser<CreateDataSourceDefinitionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasDataSourceDefinition()

public boolean hasDataSourceDefinition()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
boolean

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateDataSourceDefinitionRequest.Builder newBuilderForType()
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateDataSourceDefinitionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder
Overrides

toBuilder()

public CreateDataSourceDefinitionRequest.Builder toBuilder()
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException