Class SinglePackageChange.Builder (2.44.0)

public static final class SinglePackageChange.Builder extends GeneratedMessageV3.Builder<SinglePackageChange.Builder> implements SinglePackageChangeOrBuilder

Options to configure rule type SinglePackageChange. The rule is used to alter the sql code for a package entities.

The rule filter field can refer to one entity.

The rule scope can be: Package

Protobuf type google.cloud.clouddms.v1.SinglePackageChange

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SinglePackageChange build()
Returns
Type Description
SinglePackageChange

buildPartial()

public SinglePackageChange buildPartial()
Returns
Type Description
SinglePackageChange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPackageBody()

public SinglePackageChange.Builder clearPackageBody()

Optional. Sql code for package body

string package_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SinglePackageChange.Builder

This builder for chaining.

clearPackageDescription()

public SinglePackageChange.Builder clearPackageDescription()

Optional. Sql code for package description

string package_description = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SinglePackageChange.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SinglePackageChange getDefaultInstanceForType()
Returns
Type Description
SinglePackageChange

getDescriptorForType()

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

getPackageBody()

public String getPackageBody()

Optional. Sql code for package body

string package_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The packageBody.

getPackageBodyBytes()

public ByteString getPackageBodyBytes()

Optional. Sql code for package body

string package_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for packageBody.

getPackageDescription()

public String getPackageDescription()

Optional. Sql code for package description

string package_description = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The packageDescription.

getPackageDescriptionBytes()

public ByteString getPackageDescriptionBytes()

Optional. Sql code for package description

string package_description = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for packageDescription.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SinglePackageChange other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPackageBody(String value)

public SinglePackageChange.Builder setPackageBody(String value)

Optional. Sql code for package body

string package_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The packageBody to set.

Returns
Type Description
SinglePackageChange.Builder

This builder for chaining.

setPackageBodyBytes(ByteString value)

public SinglePackageChange.Builder setPackageBodyBytes(ByteString value)

Optional. Sql code for package body

string package_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for packageBody to set.

Returns
Type Description
SinglePackageChange.Builder

This builder for chaining.

setPackageDescription(String value)

public SinglePackageChange.Builder setPackageDescription(String value)

Optional. Sql code for package description

string package_description = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The packageDescription to set.

Returns
Type Description
SinglePackageChange.Builder

This builder for chaining.

setPackageDescriptionBytes(ByteString value)

public SinglePackageChange.Builder setPackageDescriptionBytes(ByteString value)

Optional. Sql code for package description

string package_description = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for packageDescription to set.

Returns
Type Description
SinglePackageChange.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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