Class MaterializedViewEntity.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MaterializedViewEntity build()
Returns
TypeDescription
MaterializedViewEntity

buildPartial()

public MaterializedViewEntity buildPartial()
Returns
TypeDescription
MaterializedViewEntity

clear()

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

clearCustomFeatures()

public MaterializedViewEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
MaterializedViewEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlCode()

public MaterializedViewEntity.Builder clearSqlCode()

The SQL code which creates the view.

string sql_code = 1;

Returns
TypeDescription
MaterializedViewEntity.Builder

This builder for chaining.

clone()

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

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
Builder

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public MaterializedViewEntity getDefaultInstanceForType()
Returns
TypeDescription
MaterializedViewEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSqlCode()

public String getSqlCode()

The SQL code which creates the view.

string sql_code = 1;

Returns
TypeDescription
String

The sqlCode.

getSqlCodeBytes()

public ByteString getSqlCodeBytes()

The SQL code which creates the view.

string sql_code = 1;

Returns
TypeDescription
ByteString

The bytes for sqlCode.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCustomFeatures(Struct value)

public MaterializedViewEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
MaterializedViewEntity.Builder

mergeFrom(MaterializedViewEntity other)

public MaterializedViewEntity.Builder mergeFrom(MaterializedViewEntity other)
Parameter
NameDescription
otherMaterializedViewEntity
Returns
TypeDescription
MaterializedViewEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public MaterializedViewEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
MaterializedViewEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public MaterializedViewEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
MaterializedViewEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public MaterializedViewEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MaterializedViewEntity.Builder
Overrides

setSqlCode(String value)

public MaterializedViewEntity.Builder setSqlCode(String value)

The SQL code which creates the view.

string sql_code = 1;

Parameter
NameDescription
valueString

The sqlCode to set.

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

The bytes for sqlCode to set.

Returns
TypeDescription
MaterializedViewEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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