Class SinglePackageChange.Builder (2.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SinglePackageChange build()
Returns
TypeDescription
SinglePackageChange

buildPartial()

public SinglePackageChange buildPartial()
Returns
TypeDescription
SinglePackageChange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SinglePackageChange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SinglePackageChange.Builder
Overrides

clearPackageBody()

public SinglePackageChange.Builder clearPackageBody()

Optional. Sql code for package body

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

Returns
TypeDescription
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
TypeDescription
SinglePackageChange.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SinglePackageChange getDefaultInstanceForType()
Returns
TypeDescription
SinglePackageChange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPackageBody()

public String getPackageBody()

Optional. Sql code for package body

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

Returns
TypeDescription
String

The packageBody.

getPackageBodyBytes()

public ByteString getPackageBodyBytes()

Optional. Sql code for package body

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

Returns
TypeDescription
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
TypeDescription
String

The packageDescription.

getPackageDescriptionBytes()

public ByteString getPackageDescriptionBytes()

Optional. Sql code for package description

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

Returns
TypeDescription
ByteString

The bytes for packageDescription.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SinglePackageChange other)

public SinglePackageChange.Builder mergeFrom(SinglePackageChange other)
Parameter
NameDescription
otherSinglePackageChange
Returns
TypeDescription
SinglePackageChange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The packageBody to set.

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

The bytes for packageBody to set.

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

The packageDescription to set.

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

The bytes for packageDescription to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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