Class ViewEntity.Builder (2.20.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.20.0keyboard_arrow_down
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 2025-08-18 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 2025-08-18 UTC."],[],[],null,[]]