Class UpdateDataSourceDefinitionRequest (2.40.0)

public final class UpdateDataSourceDefinitionRequest extends GeneratedMessageV3 implements UpdateDataSourceDefinitionRequestOrBuilder

Represents the request of the UpdateDataSourceDefinition method.

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

Inheritance

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

Static Fields

DATA_SOURCE_DEFINITION_FIELD_NUMBER

public static final int DATA_SOURCE_DEFINITION_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateDataSourceDefinitionRequest getDefaultInstance()
Returns
TypeDescription
UpdateDataSourceDefinitionRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateDataSourceDefinitionRequest prototype)

public static UpdateDataSourceDefinitionRequest.Builder newBuilder(UpdateDataSourceDefinitionRequest prototype)
Parameter
NameDescription
prototypeUpdateDataSourceDefinitionRequest
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 = 1;

Returns
TypeDescription
DataSourceDefinition

getDataSourceDefinitionOrBuilder()

public DataSourceDefinitionOrBuilder getDataSourceDefinitionOrBuilder()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinitionOrBuilder

getDefaultInstanceForType()

public UpdateDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataSourceDefinitionRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasDataSourceDefinition()

public boolean hasDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
boolean

hasUpdateMask()

public boolean hasUpdateMask()

Update field mask.

.google.protobuf.FieldMask update_mask = 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 UpdateDataSourceDefinitionRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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