Class EntityDdl.Builder (2.46.0)

public static final class EntityDdl.Builder extends GeneratedMessageV3.Builder<EntityDdl.Builder> implements EntityDdlOrBuilder

A single DDL statement for a specific entity

Protobuf type google.cloud.clouddms.v1.EntityDdl

Implements

EntityDdlOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllIssueId(Iterable<String> values)

public EntityDdl.Builder addAllIssueId(Iterable<String> values)

EntityIssues found for this ddl.

repeated string issue_id = 100;

Parameter
Name Description
values Iterable<String>

The issueId to add.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

addIssueId(String value)

public EntityDdl.Builder addIssueId(String value)

EntityIssues found for this ddl.

repeated string issue_id = 100;

Parameter
Name Description
value String

The issueId to add.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

addIssueIdBytes(ByteString value)

public EntityDdl.Builder addIssueIdBytes(ByteString value)

EntityIssues found for this ddl.

repeated string issue_id = 100;

Parameter
Name Description
value ByteString

The bytes of the issueId to add.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityDdl build()
Returns
Type Description
EntityDdl

buildPartial()

public EntityDdl buildPartial()
Returns
Type Description
EntityDdl

clear()

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

clearDdl()

public EntityDdl.Builder clearDdl()

The actual ddl code.

string ddl = 3;

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

clearDdlType()

public EntityDdl.Builder clearDdlType()

Type of DDL (Create, Alter).

string ddl_type = 1;

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

clearEntity()

public EntityDdl.Builder clearEntity()

The name of the database entity the ddl refers to.

string entity = 2;

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

clearEntityType()

public EntityDdl.Builder clearEntityType()

The entity type (if the DDL is for a sub entity).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIssueId()

public EntityDdl.Builder clearIssueId()

EntityIssues found for this ddl.

repeated string issue_id = 100;

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDdl()

public String getDdl()

The actual ddl code.

string ddl = 3;

Returns
Type Description
String

The ddl.

getDdlBytes()

public ByteString getDdlBytes()

The actual ddl code.

string ddl = 3;

Returns
Type Description
ByteString

The bytes for ddl.

getDdlType()

public String getDdlType()

Type of DDL (Create, Alter).

string ddl_type = 1;

Returns
Type Description
String

The ddlType.

getDdlTypeBytes()

public ByteString getDdlTypeBytes()

Type of DDL (Create, Alter).

string ddl_type = 1;

Returns
Type Description
ByteString

The bytes for ddlType.

getDefaultInstanceForType()

public EntityDdl getDefaultInstanceForType()
Returns
Type Description
EntityDdl

getDescriptorForType()

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

getEntity()

public String getEntity()

The name of the database entity the ddl refers to.

string entity = 2;

Returns
Type Description
String

The entity.

getEntityBytes()

public ByteString getEntityBytes()

The name of the database entity the ddl refers to.

string entity = 2;

Returns
Type Description
ByteString

The bytes for entity.

getEntityType()

public DatabaseEntityType getEntityType()

The entity type (if the DDL is for a sub entity).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Returns
Type Description
DatabaseEntityType

The entityType.

getEntityTypeValue()

public int getEntityTypeValue()

The entity type (if the DDL is for a sub entity).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Returns
Type Description
int

The enum numeric value on the wire for entityType.

getIssueId(int index)

public String getIssueId(int index)

EntityIssues found for this ddl.

repeated string issue_id = 100;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The issueId at the given index.

getIssueIdBytes(int index)

public ByteString getIssueIdBytes(int index)

EntityIssues found for this ddl.

repeated string issue_id = 100;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the issueId at the given index.

getIssueIdCount()

public int getIssueIdCount()

EntityIssues found for this ddl.

repeated string issue_id = 100;

Returns
Type Description
int

The count of issueId.

getIssueIdList()

public ProtocolStringList getIssueIdList()

EntityIssues found for this ddl.

repeated string issue_id = 100;

Returns
Type Description
ProtocolStringList

A list containing the issueId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityDdl other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDdl(String value)

public EntityDdl.Builder setDdl(String value)

The actual ddl code.

string ddl = 3;

Parameter
Name Description
value String

The ddl to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setDdlBytes(ByteString value)

public EntityDdl.Builder setDdlBytes(ByteString value)

The actual ddl code.

string ddl = 3;

Parameter
Name Description
value ByteString

The bytes for ddl to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setDdlType(String value)

public EntityDdl.Builder setDdlType(String value)

Type of DDL (Create, Alter).

string ddl_type = 1;

Parameter
Name Description
value String

The ddlType to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setDdlTypeBytes(ByteString value)

public EntityDdl.Builder setDdlTypeBytes(ByteString value)

Type of DDL (Create, Alter).

string ddl_type = 1;

Parameter
Name Description
value ByteString

The bytes for ddlType to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setEntity(String value)

public EntityDdl.Builder setEntity(String value)

The name of the database entity the ddl refers to.

string entity = 2;

Parameter
Name Description
value String

The entity to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setEntityBytes(ByteString value)

public EntityDdl.Builder setEntityBytes(ByteString value)

The name of the database entity the ddl refers to.

string entity = 2;

Parameter
Name Description
value ByteString

The bytes for entity to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setEntityType(DatabaseEntityType value)

public EntityDdl.Builder setEntityType(DatabaseEntityType value)

The entity type (if the DDL is for a sub entity).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Parameter
Name Description
value DatabaseEntityType

The entityType to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setEntityTypeValue(int value)

public EntityDdl.Builder setEntityTypeValue(int value)

The entity type (if the DDL is for a sub entity).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for entityType to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueId(int index, String value)

public EntityDdl.Builder setIssueId(int index, String value)

EntityIssues found for this ddl.

repeated string issue_id = 100;

Parameters
Name Description
index int

The index to set the value at.

value String

The issueId to set.

Returns
Type Description
EntityDdl.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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