Class PackageEntity.Builder (2.48.0)

public static final class PackageEntity.Builder extends GeneratedMessageV3.Builder<PackageEntity.Builder> implements PackageEntityOrBuilder

Package's parent is a schema.

Protobuf type google.cloud.clouddms.v1.PackageEntity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PackageEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PackageEntity.Builder
Overrides

build()

public PackageEntity build()
Returns
Type Description
PackageEntity

buildPartial()

public PackageEntity buildPartial()
Returns
Type Description
PackageEntity

clear()

public PackageEntity.Builder clear()
Returns
Type Description
PackageEntity.Builder
Overrides

clearCustomFeatures()

public PackageEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
PackageEntity.Builder

clearField(Descriptors.FieldDescriptor field)

public PackageEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PackageEntity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PackageEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PackageEntity.Builder
Overrides

clearPackageBody()

public PackageEntity.Builder clearPackageBody()

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
PackageEntity.Builder

This builder for chaining.

clearPackageSqlCode()

public PackageEntity.Builder clearPackageSqlCode()

The SQL code which creates the package.

string package_sql_code = 1;

Returns
Type Description
PackageEntity.Builder

This builder for chaining.

clone()

public PackageEntity.Builder clone()
Returns
Type Description
PackageEntity.Builder
Overrides

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
boolean

Whether the customFeatures field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomFeatures(Struct value)

public PackageEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
value Struct
Returns
Type Description
PackageEntity.Builder

mergeFrom(PackageEntity other)

public PackageEntity.Builder mergeFrom(PackageEntity other)
Parameter
Name Description
other PackageEntity
Returns
Type Description
PackageEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PackageEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackageEntity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PackageEntity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PackageEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PackageEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PackageEntity.Builder
Overrides

setCustomFeatures(Struct value)

public PackageEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
value Struct
Returns
Type Description
PackageEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public PackageEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PackageEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PackageEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PackageEntity.Builder
Overrides

setPackageBody(String value)

public PackageEntity.Builder setPackageBody(String value)

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;

Parameter
Name Description
value String

The packageBody to set.

Returns
Type Description
PackageEntity.Builder

This builder for chaining.

setPackageBodyBytes(ByteString value)

public PackageEntity.Builder setPackageBodyBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for packageBody to set.

Returns
Type Description
PackageEntity.Builder

This builder for chaining.

setPackageSqlCode(String value)

public PackageEntity.Builder setPackageSqlCode(String value)

The SQL code which creates the package.

string package_sql_code = 1;

Parameter
Name Description
value String

The packageSqlCode to set.

Returns
Type Description
PackageEntity.Builder

This builder for chaining.

setPackageSqlCodeBytes(ByteString value)

public PackageEntity.Builder setPackageSqlCodeBytes(ByteString value)

The SQL code which creates the package.

string package_sql_code = 1;

Parameter
Name Description
value ByteString

The bytes for packageSqlCode to set.

Returns
Type Description
PackageEntity.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PackageEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PackageEntity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PackageEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PackageEntity.Builder
Overrides