Class PackageEntity.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PackageEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PackageEntity.Builder
Overrides

build()

public PackageEntity build()
Returns
TypeDescription
PackageEntity

buildPartial()

public PackageEntity buildPartial()
Returns
TypeDescription
PackageEntity

clear()

public PackageEntity.Builder clear()
Returns
TypeDescription
PackageEntity.Builder
Overrides

clearCustomFeatures()

public PackageEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
PackageEntity.Builder

clearField(Descriptors.FieldDescriptor field)

public PackageEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PackageEntity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PackageEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PackageEntity.Builder

This builder for chaining.

clearPackageSqlCode()

public PackageEntity.Builder clearPackageSqlCode()

The SQL code which creates the package.

string package_sql_code = 1;

Returns
TypeDescription
PackageEntity.Builder

This builder for chaining.

clone()

public PackageEntity.Builder clone()
Returns
TypeDescription
PackageEntity.Builder
Overrides

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
Builder

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public PackageEntity getDefaultInstanceForType()
Returns
TypeDescription
PackageEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCustomFeatures(Struct value)

public PackageEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
PackageEntity.Builder

mergeFrom(PackageEntity other)

public PackageEntity.Builder mergeFrom(PackageEntity other)
Parameter
NameDescription
otherPackageEntity
Returns
TypeDescription
PackageEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PackageEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PackageEntity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PackageEntity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PackageEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PackageEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PackageEntity.Builder
Overrides

setCustomFeatures(Struct value)

public PackageEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
PackageEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public PackageEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
PackageEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PackageEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The packageBody to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for packageBody to set.

Returns
TypeDescription
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
NameDescription
valueString

The packageSqlCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for packageSqlCode to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PackageEntity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PackageEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PackageEntity.Builder
Overrides