Class PackageEntity (2.42.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
Type Description
int

PACKAGE_BODY_FIELD_NUMBER

public static final int PACKAGE_BODY_FIELD_NUMBER
Field Value
Type Description
int

PACKAGE_SQL_CODE_FIELD_NUMBER

public static final int PACKAGE_SQL_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PackageEntity getDefaultInstance()
Returns
Type Description
PackageEntity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PackageEntity.Builder newBuilder()
Returns
Type Description
PackageEntity.Builder

newBuilder(PackageEntity prototype)

public static PackageEntity.Builder newBuilder(PackageEntity prototype)
Parameter
Name Description
prototype PackageEntity
Returns
Type Description
PackageEntity.Builder

parseDelimitedFrom(InputStream input)

public static PackageEntity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PackageEntity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PackageEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackageEntity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PackageEntity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PackageEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PackageEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackageEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PackageEntity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PackageEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PackageEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackageEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PackageEntity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PackageEntity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PackageEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackageEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PackageEntity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PackageEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PackageEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackageEntity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PackageEntity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PackageEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PackageEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackageEntity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PackageEntity> parser()
Returns
Type Description
Parser<PackageEntity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public PackageEntity getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for packageBody.

getPackageSqlCode()

public String getPackageSqlCode()

The SQL code which creates the package.

string package_sql_code = 1;

Returns
Type Description
String

The packageSqlCode.

getPackageSqlCodeBytes()

public ByteString getPackageSqlCodeBytes()

The SQL code which creates the package.

string package_sql_code = 1;

Returns
Type Description
ByteString

The bytes for packageSqlCode.

getParserForType()

public Parser<PackageEntity> getParserForType()
Returns
Type Description
Parser<PackageEntity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
boolean

Whether the customFeatures field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PackageEntity.Builder newBuilderForType()
Returns
Type Description
PackageEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PackageEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PackageEntity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PackageEntity.Builder toBuilder()
Returns
Type Description
PackageEntity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException