Class ViewEntity.Builder (2.50.0)

public static final class ViewEntity.Builder extends GeneratedMessageV3.Builder<ViewEntity.Builder> implements ViewEntityOrBuilder

View's parent is a schema.

Protobuf type google.cloud.clouddms.v1.ViewEntity

Implements

ViewEntityOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllConstraints(Iterable<? extends ConstraintEntity> values)

public ViewEntity.Builder addAllConstraints(Iterable<? extends ConstraintEntity> values)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.clouddms.v1.ConstraintEntity>
Returns
Type Description
ViewEntity.Builder

addConstraints(ConstraintEntity value)

public ViewEntity.Builder addConstraints(ConstraintEntity value)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
value ConstraintEntity
Returns
Type Description
ViewEntity.Builder

addConstraints(ConstraintEntity.Builder builderForValue)

public ViewEntity.Builder addConstraints(ConstraintEntity.Builder builderForValue)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
builderForValue ConstraintEntity.Builder
Returns
Type Description
ViewEntity.Builder

addConstraints(int index, ConstraintEntity value)

public ViewEntity.Builder addConstraints(int index, ConstraintEntity value)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameters
Name Description
index int
value ConstraintEntity
Returns
Type Description
ViewEntity.Builder

addConstraints(int index, ConstraintEntity.Builder builderForValue)

public ViewEntity.Builder addConstraints(int index, ConstraintEntity.Builder builderForValue)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameters
Name Description
index int
builderForValue ConstraintEntity.Builder
Returns
Type Description
ViewEntity.Builder

addConstraintsBuilder()

public ConstraintEntity.Builder addConstraintsBuilder()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
ConstraintEntity.Builder

addConstraintsBuilder(int index)

public ConstraintEntity.Builder addConstraintsBuilder(int index)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
index int
Returns
Type Description
ConstraintEntity.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ViewEntity build()
Returns
Type Description
ViewEntity

buildPartial()

public ViewEntity buildPartial()
Returns
Type Description
ViewEntity

clear()

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

clearConstraints()

public ViewEntity.Builder clearConstraints()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
ViewEntity.Builder

clearCustomFeatures()

public ViewEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
ViewEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlCode()

public ViewEntity.Builder clearSqlCode()

The SQL code which creates the view.

string sql_code = 1;

Returns
Type Description
ViewEntity.Builder

This builder for chaining.

clone()

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

getConstraints(int index)

public ConstraintEntity getConstraints(int index)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
index int
Returns
Type Description
ConstraintEntity

getConstraintsBuilder(int index)

public ConstraintEntity.Builder getConstraintsBuilder(int index)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
index int
Returns
Type Description
ConstraintEntity.Builder

getConstraintsBuilderList()

public List<ConstraintEntity.Builder> getConstraintsBuilderList()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
List<Builder>

getConstraintsCount()

public int getConstraintsCount()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
int

getConstraintsList()

public List<ConstraintEntity> getConstraintsList()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
List<ConstraintEntity>

getConstraintsOrBuilder(int index)

public ConstraintEntityOrBuilder getConstraintsOrBuilder(int index)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
index int
Returns
Type Description
ConstraintEntityOrBuilder

getConstraintsOrBuilderList()

public List<? extends ConstraintEntityOrBuilder> getConstraintsOrBuilderList()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
List<? extends com.google.cloud.clouddms.v1.ConstraintEntityOrBuilder>

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
Builder

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public ViewEntity getDefaultInstanceForType()
Returns
Type Description
ViewEntity

getDescriptorForType()

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

getSqlCode()

public String getSqlCode()

The SQL code which creates the view.

string sql_code = 1;

Returns
Type Description
String

The sqlCode.

getSqlCodeBytes()

public ByteString getSqlCodeBytes()

The SQL code which creates the view.

string sql_code = 1;

Returns
Type Description
ByteString

The bytes for sqlCode.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
boolean

Whether the customFeatures field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomFeatures(Struct value)

public ViewEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
Name Description
value Struct
Returns
Type Description
ViewEntity.Builder

mergeFrom(ViewEntity other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeConstraints(int index)

public ViewEntity.Builder removeConstraints(int index)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
index int
Returns
Type Description
ViewEntity.Builder

setConstraints(int index, ConstraintEntity value)

public ViewEntity.Builder setConstraints(int index, ConstraintEntity value)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameters
Name Description
index int
value ConstraintEntity
Returns
Type Description
ViewEntity.Builder

setConstraints(int index, ConstraintEntity.Builder builderForValue)

public ViewEntity.Builder setConstraints(int index, ConstraintEntity.Builder builderForValue)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameters
Name Description
index int
builderForValue ConstraintEntity.Builder
Returns
Type Description
ViewEntity.Builder

setCustomFeatures(Struct value)

public ViewEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
Name Description
value Struct
Returns
Type Description
ViewEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public ViewEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ViewEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSqlCode(String value)

public ViewEntity.Builder setSqlCode(String value)

The SQL code which creates the view.

string sql_code = 1;

Parameter
Name Description
value String

The sqlCode to set.

Returns
Type Description
ViewEntity.Builder

This builder for chaining.

setSqlCodeBytes(ByteString value)

public ViewEntity.Builder setSqlCodeBytes(ByteString value)

The SQL code which creates the view.

string sql_code = 1;

Parameter
Name Description
value ByteString

The bytes for sqlCode to set.

Returns
Type Description
ViewEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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