public static final class SourceObjectIdentifier.Builder extends GeneratedMessageV3.Builder<SourceObjectIdentifier.Builder> implements SourceObjectIdentifierOrBuilder
Represents an identifier of an object in the data source.
Protobuf type google.cloud.datastream.v1.SourceObjectIdentifier
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceObjectIdentifier.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SourceObjectIdentifier build()
Returns
buildPartial()
public SourceObjectIdentifier buildPartial()
Returns
clear()
public SourceObjectIdentifier.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceObjectIdentifier.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMysqlIdentifier()
public SourceObjectIdentifier.Builder clearMysqlIdentifier()
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceObjectIdentifier.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOracleIdentifier()
public SourceObjectIdentifier.Builder clearOracleIdentifier()
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Returns
clearSourceIdentifier()
public SourceObjectIdentifier.Builder clearSourceIdentifier()
Returns
clone()
public SourceObjectIdentifier.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SourceObjectIdentifier getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMysqlIdentifier()
public SourceObjectIdentifier.MysqlObjectIdentifier getMysqlIdentifier()
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Returns
getMysqlIdentifierBuilder()
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder getMysqlIdentifierBuilder()
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Returns
getMysqlIdentifierOrBuilder()
public SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder getMysqlIdentifierOrBuilder()
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Returns
getOracleIdentifier()
public SourceObjectIdentifier.OracleObjectIdentifier getOracleIdentifier()
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Returns
getOracleIdentifierBuilder()
public SourceObjectIdentifier.OracleObjectIdentifier.Builder getOracleIdentifierBuilder()
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Returns
getOracleIdentifierOrBuilder()
public SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder()
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Returns
getSourceIdentifierCase()
public SourceObjectIdentifier.SourceIdentifierCase getSourceIdentifierCase()
Returns
hasMysqlIdentifier()
public boolean hasMysqlIdentifier()
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Returns
Type | Description |
boolean | Whether the mysqlIdentifier field is set.
|
hasOracleIdentifier()
public boolean hasOracleIdentifier()
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Returns
Type | Description |
boolean | Whether the oracleIdentifier field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SourceObjectIdentifier other)
public SourceObjectIdentifier.Builder mergeFrom(SourceObjectIdentifier other)
Parameter
Returns
public SourceObjectIdentifier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SourceObjectIdentifier.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)
public SourceObjectIdentifier.Builder mergeMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Parameter
Returns
mergeOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)
public SourceObjectIdentifier.Builder mergeOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceObjectIdentifier.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceObjectIdentifier.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)
public SourceObjectIdentifier.Builder setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Parameter
Returns
setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier.Builder builderForValue)
public SourceObjectIdentifier.Builder setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier.Builder builderForValue)
Mysql data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;
Parameter
Returns
setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)
public SourceObjectIdentifier.Builder setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Parameter
Returns
setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier.Builder builderForValue)
public SourceObjectIdentifier.Builder setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier.Builder builderForValue)
Oracle data source object identifier.
.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceObjectIdentifier.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceObjectIdentifier.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides