Package com.google.cloud.clouddms.v1
Class ViewEntity.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
- com.google.cloud.clouddms.v1.ViewEntity.Builder
-
- All Implemented Interfaces:
ViewEntityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ViewEntity
public static final class ViewEntity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder> implements ViewEntityOrBuilder
View's parent is a schema.
Protobuf typegoogle.cloud.clouddms.v1.ViewEntity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewEntity.BuilderaddAllConstraints(Iterable<? extends ConstraintEntity> values)View constraints.ViewEntity.BuilderaddConstraints(int index, ConstraintEntity value)View constraints.ViewEntity.BuilderaddConstraints(int index, ConstraintEntity.Builder builderForValue)View constraints.ViewEntity.BuilderaddConstraints(ConstraintEntity value)View constraints.ViewEntity.BuilderaddConstraints(ConstraintEntity.Builder builderForValue)View constraints.ConstraintEntity.BuilderaddConstraintsBuilder()View constraints.ConstraintEntity.BuilderaddConstraintsBuilder(int index)View constraints.ViewEntity.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ViewEntitybuild()ViewEntitybuildPartial()ViewEntity.Builderclear()ViewEntity.BuilderclearConstraints()View constraints.ViewEntity.BuilderclearCustomFeatures()Custom engine specific features.ViewEntity.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ViewEntity.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ViewEntity.BuilderclearSqlCode()The SQL code which creates the view.ViewEntity.Builderclone()ConstraintEntitygetConstraints(int index)View constraints.ConstraintEntity.BuildergetConstraintsBuilder(int index)View constraints.List<ConstraintEntity.Builder>getConstraintsBuilderList()View constraints.intgetConstraintsCount()View constraints.List<ConstraintEntity>getConstraintsList()View constraints.ConstraintEntityOrBuildergetConstraintsOrBuilder(int index)View constraints.List<? extends ConstraintEntityOrBuilder>getConstraintsOrBuilderList()View constraints.com.google.protobuf.StructgetCustomFeatures()Custom engine specific features.com.google.protobuf.Struct.BuildergetCustomFeaturesBuilder()Custom engine specific features.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Custom engine specific features.ViewEntitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetSqlCode()The SQL code which creates the view.com.google.protobuf.ByteStringgetSqlCodeBytes()The SQL code which creates the view.booleanhasCustomFeatures()Custom engine specific features.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ViewEntity.BuildermergeCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.ViewEntity.BuildermergeFrom(ViewEntity other)ViewEntity.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ViewEntity.BuildermergeFrom(com.google.protobuf.Message other)ViewEntity.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ViewEntity.BuilderremoveConstraints(int index)View constraints.ViewEntity.BuildersetConstraints(int index, ConstraintEntity value)View constraints.ViewEntity.BuildersetConstraints(int index, ConstraintEntity.Builder builderForValue)View constraints.ViewEntity.BuildersetCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.ViewEntity.BuildersetCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)Custom engine specific features.ViewEntity.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ViewEntity.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ViewEntity.BuildersetSqlCode(String value)The SQL code which creates the view.ViewEntity.BuildersetSqlCodeBytes(com.google.protobuf.ByteString value)The SQL code which creates the view.ViewEntity.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
clear
public ViewEntity.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
getDefaultInstanceForType
public ViewEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ViewEntity build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ViewEntity buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ViewEntity.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
setField
public ViewEntity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
clearField
public ViewEntity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
clearOneof
public ViewEntity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
setRepeatedField
public ViewEntity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
addRepeatedField
public ViewEntity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
mergeFrom
public ViewEntity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ViewEntity.Builder>
-
mergeFrom
public ViewEntity.Builder mergeFrom(ViewEntity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
mergeFrom
public ViewEntity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ViewEntity.Builder>- Throws:
IOException
-
getSqlCode
public String getSqlCode()
The SQL code which creates the view.
string sql_code = 1;- Specified by:
getSqlCodein interfaceViewEntityOrBuilder- Returns:
- The sqlCode.
-
getSqlCodeBytes
public com.google.protobuf.ByteString getSqlCodeBytes()
The SQL code which creates the view.
string sql_code = 1;- Specified by:
getSqlCodeBytesin interfaceViewEntityOrBuilder- Returns:
- The bytes for sqlCode.
-
setSqlCode
public ViewEntity.Builder setSqlCode(String value)
The SQL code which creates the view.
string sql_code = 1;- Parameters:
value- The sqlCode to set.- Returns:
- This builder for chaining.
-
clearSqlCode
public ViewEntity.Builder clearSqlCode()
The SQL code which creates the view.
string sql_code = 1;- Returns:
- This builder for chaining.
-
setSqlCodeBytes
public ViewEntity.Builder setSqlCodeBytes(com.google.protobuf.ByteString value)
The SQL code which creates the view.
string sql_code = 1;- Parameters:
value- The bytes for sqlCode to set.- Returns:
- This builder for chaining.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;- Specified by:
hasCustomFeaturesin interfaceViewEntityOrBuilder- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
public com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;- Specified by:
getCustomFeaturesin interfaceViewEntityOrBuilder- Returns:
- The customFeatures.
-
setCustomFeatures
public ViewEntity.Builder setCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
-
setCustomFeatures
public ViewEntity.Builder setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
-
mergeCustomFeatures
public ViewEntity.Builder mergeCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
-
clearCustomFeatures
public ViewEntity.Builder clearCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
-
getCustomFeaturesBuilder
public com.google.protobuf.Struct.Builder getCustomFeaturesBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 2;- Specified by:
getCustomFeaturesOrBuilderin interfaceViewEntityOrBuilder
-
getConstraintsList
public List<ConstraintEntity> getConstraintsList()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;- Specified by:
getConstraintsListin interfaceViewEntityOrBuilder
-
getConstraintsCount
public int getConstraintsCount()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;- Specified by:
getConstraintsCountin interfaceViewEntityOrBuilder
-
getConstraints
public ConstraintEntity getConstraints(int index)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;- Specified by:
getConstraintsin interfaceViewEntityOrBuilder
-
setConstraints
public ViewEntity.Builder setConstraints(int index, ConstraintEntity value)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
setConstraints
public ViewEntity.Builder setConstraints(int index, ConstraintEntity.Builder builderForValue)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
addConstraints
public ViewEntity.Builder addConstraints(ConstraintEntity value)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
addConstraints
public ViewEntity.Builder addConstraints(int index, ConstraintEntity value)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
addConstraints
public ViewEntity.Builder addConstraints(ConstraintEntity.Builder builderForValue)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
addConstraints
public ViewEntity.Builder addConstraints(int index, ConstraintEntity.Builder builderForValue)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
addAllConstraints
public ViewEntity.Builder addAllConstraints(Iterable<? extends ConstraintEntity> values)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
clearConstraints
public ViewEntity.Builder clearConstraints()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
removeConstraints
public ViewEntity.Builder removeConstraints(int index)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
getConstraintsBuilder
public ConstraintEntity.Builder getConstraintsBuilder(int index)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
getConstraintsOrBuilder
public ConstraintEntityOrBuilder getConstraintsOrBuilder(int index)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;- Specified by:
getConstraintsOrBuilderin interfaceViewEntityOrBuilder
-
getConstraintsOrBuilderList
public List<? extends ConstraintEntityOrBuilder> getConstraintsOrBuilderList()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;- Specified by:
getConstraintsOrBuilderListin interfaceViewEntityOrBuilder
-
addConstraintsBuilder
public ConstraintEntity.Builder addConstraintsBuilder()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
addConstraintsBuilder
public ConstraintEntity.Builder addConstraintsBuilder(int index)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
getConstraintsBuilderList
public List<ConstraintEntity.Builder> getConstraintsBuilderList()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
-
setUnknownFields
public final ViewEntity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
mergeUnknownFields
public final ViewEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
-