Class ViewEntity.Builder (2.28.0)
2.86.0 (latest)
2.84.0
2.82.0
2.81.0
2.80.0
2.79.0
2.77.0
2.75.0
2.74.0
2.73.0
2.72.0
2.71.0
2.69.0
2.67.0
2.66.0
2.63.0
2.62.0
2.61.0
2.59.0
2.58.0
2.57.0
2.56.0
2.55.0
2.54.0
2.53.0
2.52.0
2.51.0
2.50.0
2.48.0
2.47.0
2.46.0
2.45.0
2.44.0
2.43.0
2.42.0
2.41.0
2.40.0
2.39.0
2.38.0
2.36.0
2.35.0
2.34.0
2.33.0
2.32.0
2.31.0
2.30.0
2.29.0
2.28.0
2.27.0
2.26.0
2.23.0
2.22.0
2.21.0
2.20.0
2.19.0
2.18.0
2.17.0
2.16.0
2.15.0
2.14.0
2.13.0
2.12.0
2.11.0
2.10.0
2.8.0
2.7.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.8
2.1.9
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
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 >
addConstraints(ConstraintEntity value)
public ViewEntity . Builder addConstraints ( ConstraintEntity value )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
addConstraints(ConstraintEntity.Builder builderForValue)
public ViewEntity . Builder addConstraints ( ConstraintEntity . Builder builderForValue )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
addConstraints(int index, ConstraintEntity value)
public ViewEntity . Builder addConstraints ( int index , ConstraintEntity value )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
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;
addConstraintsBuilder()
public ConstraintEntity . Builder addConstraintsBuilder ()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
addConstraintsBuilder(int index)
public ConstraintEntity . Builder addConstraintsBuilder ( int index )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ViewEntity . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ViewEntity build ()
buildPartial()
public ViewEntity buildPartial ()
clear()
public ViewEntity . Builder clear ()
Overrides
clearConstraints()
public ViewEntity . Builder clearConstraints ()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
clearCustomFeatures()
public ViewEntity . Builder clearCustomFeatures ()
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
clearField(Descriptors.FieldDescriptor field)
public ViewEntity . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ViewEntity . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSqlCode()
public ViewEntity . Builder clearSqlCode ()
The SQL code which creates the view.
string sql_code = 1;
clone()
public ViewEntity . Builder clone ()
Overrides
getConstraints(int index)
public ConstraintEntity getConstraints ( int index )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
Parameter
Name
Description
index
int
getConstraintsBuilder(int index)
public ConstraintEntity . Builder getConstraintsBuilder ( int index )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
Parameter
Name
Description
index
int
getConstraintsBuilderList()
public List<ConstraintEntity . Builder > getConstraintsBuilderList ()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
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;
getConstraintsOrBuilder(int index)
public ConstraintEntityOrBuilder getConstraintsOrBuilder ( int index )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
Parameter
Name
Description
index
int
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;
getCustomFeaturesOrBuilder()
public StructOrBuilder getCustomFeaturesOrBuilder ()
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
getDefaultInstanceForType()
public ViewEntity getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
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
mergeFrom(ViewEntity other)
public ViewEntity . Builder mergeFrom ( ViewEntity other )
public ViewEntity . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ViewEntity . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ViewEntity . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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
setConstraints(int index, ConstraintEntity value)
public ViewEntity . Builder setConstraints ( int index , ConstraintEntity value )
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
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;
setCustomFeatures(Struct value)
public ViewEntity . Builder setCustomFeatures ( Struct value )
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
Parameter
Name
Description
value
Struct
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
setField(Descriptors.FieldDescriptor field, Object value)
public ViewEntity . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ViewEntity . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final ViewEntity . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]