Class PackageEntity (2.39.0)

public final class PackageEntity extends GeneratedMessageV3 implements PackageEntityOrBuilder

Package's parent is a schema.

Protobuf type google.cloud.clouddms.v1.PackageEntity

Static Fields

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

PACKAGE_BODY_FIELD_NUMBER

public static final int PACKAGE_BODY_FIELD_NUMBER
Field Value
TypeDescription
int

PACKAGE_SQL_CODE_FIELD_NUMBER

public static final int PACKAGE_SQL_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PackageEntity getDefaultInstance()
Returns
TypeDescription
PackageEntity

getDescriptor()

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

newBuilder()

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

newBuilder(PackageEntity prototype)

public static PackageEntity.Builder newBuilder(PackageEntity prototype)
Parameter
NameDescription
prototypePackageEntity
Returns
TypeDescription
PackageEntity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public PackageEntity getDefaultInstanceForType()
Returns
TypeDescription
PackageEntity

getPackageBody()

public String getPackageBody()

The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.

string package_body = 2;

Returns
TypeDescription
String

The packageBody.

getPackageBodyBytes()

public ByteString getPackageBodyBytes()

The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.

string package_body = 2;

Returns
TypeDescription
ByteString

The bytes for packageBody.

getPackageSqlCode()

public String getPackageSqlCode()

The SQL code which creates the package.

string package_sql_code = 1;

Returns
TypeDescription
String

The packageSqlCode.

getPackageSqlCodeBytes()

public ByteString getPackageSqlCodeBytes()

The SQL code which creates the package.

string package_sql_code = 1;

Returns
TypeDescription
ByteString

The bytes for packageSqlCode.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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