Class MaterializedViewEntity.Builder (2.48.0)

public static final class MaterializedViewEntity.Builder extends GeneratedMessageV3.Builder<MaterializedViewEntity.Builder> implements MaterializedViewEntityOrBuilder

MaterializedView's parent is a schema.

Protobuf type google.cloud.clouddms.v1.MaterializedViewEntity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MaterializedViewEntity build()
Returns
Type Description
MaterializedViewEntity

buildPartial()

public MaterializedViewEntity buildPartial()
Returns
Type Description
MaterializedViewEntity

clear()

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

clearCustomFeatures()

public MaterializedViewEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
MaterializedViewEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlCode()

public MaterializedViewEntity.Builder clearSqlCode()

The SQL code which creates the view.

string sql_code = 1;

Returns
Type Description
MaterializedViewEntity.Builder

This builder for chaining.

clone()

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

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 MaterializedViewEntity getDefaultInstanceForType()
Returns
Type Description
MaterializedViewEntity

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 MaterializedViewEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
Name Description
value Struct
Returns
Type Description
MaterializedViewEntity.Builder

mergeFrom(MaterializedViewEntity other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public MaterializedViewEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
Name Description
value Struct
Returns
Type Description
MaterializedViewEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public MaterializedViewEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MaterializedViewEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSqlCode(String value)

public MaterializedViewEntity.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
MaterializedViewEntity.Builder

This builder for chaining.

setSqlCodeBytes(ByteString value)

public MaterializedViewEntity.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
MaterializedViewEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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