Class EntityDdl.Builder (2.27.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
TypeDescription
Descriptor

Methods

addAllIssueId(Iterable<String> values)

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

EntityIssues found for this ddl.

repeated string issue_id = 100;

Parameter
NameDescription
valuesIterable<String>

The issueId to add.

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

The issueId to add.

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

The bytes of the issueId to add.

Returns
TypeDescription
EntityDdl.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityDdl build()
Returns
TypeDescription
EntityDdl

buildPartial()

public EntityDdl buildPartial()
Returns
TypeDescription
EntityDdl

clear()

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

clearDdl()

public EntityDdl.Builder clearDdl()

The actual ddl code.

string ddl = 3;

Returns
TypeDescription
EntityDdl.Builder

This builder for chaining.

clearDdlType()

public EntityDdl.Builder clearDdlType()

Type of DDL (Create, Alter).

string ddl_type = 1;

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIssueId()

public EntityDdl.Builder clearIssueId()

EntityIssues found for this ddl.

repeated string issue_id = 100;

Returns
TypeDescription
EntityDdl.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDdl()

public String getDdl()

The actual ddl code.

string ddl = 3;

Returns
TypeDescription
String

The ddl.

getDdlBytes()

public ByteString getDdlBytes()

The actual ddl code.

string ddl = 3;

Returns
TypeDescription
ByteString

The bytes for ddl.

getDdlType()

public String getDdlType()

Type of DDL (Create, Alter).

string ddl_type = 1;

Returns
TypeDescription
String

The ddlType.

getDdlTypeBytes()

public ByteString getDdlTypeBytes()

Type of DDL (Create, Alter).

string ddl_type = 1;

Returns
TypeDescription
ByteString

The bytes for ddlType.

getDefaultInstanceForType()

public EntityDdl getDefaultInstanceForType()
Returns
TypeDescription
EntityDdl

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntity()

public String getEntity()

The name of the database entity the ddl refers to.

string entity = 2;

Returns
TypeDescription
String

The entity.

getEntityBytes()

public ByteString getEntityBytes()

The name of the database entity the ddl refers to.

string entity = 2;

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

The index of the element to return.

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

The index of the value to return.

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

The count of issueId.

getIssueIdList()

public ProtocolStringList getIssueIdList()

EntityIssues found for this ddl.

repeated string issue_id = 100;

Returns
TypeDescription
ProtocolStringList

A list containing the issueId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityDdl other)

public EntityDdl.Builder mergeFrom(EntityDdl other)
Parameter
NameDescription
otherEntityDdl
Returns
TypeDescription
EntityDdl.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDdl(String value)

public EntityDdl.Builder setDdl(String value)

The actual ddl code.

string ddl = 3;

Parameter
NameDescription
valueString

The ddl to set.

Returns
TypeDescription
EntityDdl.Builder

This builder for chaining.

setDdlBytes(ByteString value)

public EntityDdl.Builder setDdlBytes(ByteString value)

The actual ddl code.

string ddl = 3;

Parameter
NameDescription
valueByteString

The bytes for ddl to set.

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

The ddlType to set.

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

The bytes for ddlType to set.

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

The entity to set.

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

The bytes for entity to set.

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

The entityType to set.

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

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

Returns
TypeDescription
EntityDdl.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The issueId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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