Class DatabaseInstanceEntity (2.28.0)

public final class DatabaseInstanceEntity extends GeneratedMessageV3 implements DatabaseInstanceEntityOrBuilder

DatabaseInstance acts as a parent entity to other database entities.

Protobuf type google.cloud.clouddms.v1.DatabaseInstanceEntity

Static Fields

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatabaseInstanceEntity getDefaultInstance()
Returns
TypeDescription
DatabaseInstanceEntity

getDescriptor()

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

newBuilder()

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

newBuilder(DatabaseInstanceEntity prototype)

public static DatabaseInstanceEntity.Builder newBuilder(DatabaseInstanceEntity prototype)
Parameter
NameDescription
prototypeDatabaseInstanceEntity
Returns
TypeDescription
DatabaseInstanceEntity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public DatabaseInstanceEntity getDefaultInstanceForType()
Returns
TypeDescription
DatabaseInstanceEntity

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.

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 DatabaseInstanceEntity.Builder newBuilderForType()
Returns
TypeDescription
DatabaseInstanceEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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