Class CreateDataSourceDefinitionRequest (2.29.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
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateDataSourceDefinitionRequest getDefaultInstance()
Returns
TypeDescription
CreateDataSourceDefinitionRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateDataSourceDefinitionRequest.Builder newBuilder()
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

newBuilder(CreateDataSourceDefinitionRequest prototype)

public static CreateDataSourceDefinitionRequest.Builder newBuilder(CreateDataSourceDefinitionRequest prototype)
Parameter
NameDescription
prototypeCreateDataSourceDefinitionRequest
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateDataSourceDefinitionRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateDataSourceDefinitionRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateDataSourceDefinitionRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateDataSourceDefinitionRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateDataSourceDefinitionRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateDataSourceDefinitionRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateDataSourceDefinitionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateDataSourceDefinitionRequest> parser()
Returns
TypeDescription
Parser<CreateDataSourceDefinitionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataSourceDefinition()

public DataSourceDefinition getDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinition

getDataSourceDefinitionOrBuilder()

public DataSourceDefinitionOrBuilder getDataSourceDefinitionOrBuilder()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinitionOrBuilder

getDefaultInstanceForType()

public CreateDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

getParserForType()

public Parser<CreateDataSourceDefinitionRequest> getParserForType()
Returns
TypeDescription
Parser<CreateDataSourceDefinitionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDataSourceDefinition()

public boolean hasDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
boolean

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateDataSourceDefinitionRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateDataSourceDefinitionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder
Overrides

toBuilder()

public CreateDataSourceDefinitionRequest.Builder toBuilder()
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException