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.Builder
addAllConstraints(Iterable<? extends ConstraintEntity> values)
View constraints.ViewEntity.Builder
addConstraints(int index, ConstraintEntity value)
View constraints.ViewEntity.Builder
addConstraints(int index, ConstraintEntity.Builder builderForValue)
View constraints.ViewEntity.Builder
addConstraints(ConstraintEntity value)
View constraints.ViewEntity.Builder
addConstraints(ConstraintEntity.Builder builderForValue)
View constraints.ConstraintEntity.Builder
addConstraintsBuilder()
View constraints.ConstraintEntity.Builder
addConstraintsBuilder(int index)
View constraints.ViewEntity.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ViewEntity
build()
ViewEntity
buildPartial()
ViewEntity.Builder
clear()
ViewEntity.Builder
clearConstraints()
View constraints.ViewEntity.Builder
clearCustomFeatures()
Custom engine specific features.ViewEntity.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ViewEntity.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ViewEntity.Builder
clearSqlCode()
The SQL code which creates the view.ViewEntity.Builder
clone()
ConstraintEntity
getConstraints(int index)
View constraints.ConstraintEntity.Builder
getConstraintsBuilder(int index)
View constraints.List<ConstraintEntity.Builder>
getConstraintsBuilderList()
View constraints.int
getConstraintsCount()
View constraints.List<ConstraintEntity>
getConstraintsList()
View constraints.ConstraintEntityOrBuilder
getConstraintsOrBuilder(int index)
View constraints.List<? extends ConstraintEntityOrBuilder>
getConstraintsOrBuilderList()
View constraints.com.google.protobuf.Struct
getCustomFeatures()
Custom engine specific features.com.google.protobuf.Struct.Builder
getCustomFeaturesBuilder()
Custom engine specific features.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Custom engine specific features.ViewEntity
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getSqlCode()
The SQL code which creates the view.com.google.protobuf.ByteString
getSqlCodeBytes()
The SQL code which creates the view.boolean
hasCustomFeatures()
Custom engine specific features.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ViewEntity.Builder
mergeCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.ViewEntity.Builder
mergeFrom(ViewEntity other)
ViewEntity.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ViewEntity.Builder
mergeFrom(com.google.protobuf.Message other)
ViewEntity.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ViewEntity.Builder
removeConstraints(int index)
View constraints.ViewEntity.Builder
setConstraints(int index, ConstraintEntity value)
View constraints.ViewEntity.Builder
setConstraints(int index, ConstraintEntity.Builder builderForValue)
View constraints.ViewEntity.Builder
setCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.ViewEntity.Builder
setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Custom engine specific features.ViewEntity.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ViewEntity.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ViewEntity.Builder
setSqlCode(String value)
The SQL code which creates the view.ViewEntity.Builder
setSqlCodeBytes(com.google.protobuf.ByteString value)
The SQL code which creates the view.ViewEntity.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
clear
public ViewEntity.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
getDefaultInstanceForType
public ViewEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ViewEntity build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ViewEntity buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ViewEntity.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
setField
public ViewEntity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
clearField
public ViewEntity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
clearOneof
public ViewEntity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
setRepeatedField
public ViewEntity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
addRepeatedField
public ViewEntity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
mergeFrom
public ViewEntity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ViewEntity.Builder>
-
mergeFrom
public ViewEntity.Builder mergeFrom(ViewEntity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getSqlCode
in interfaceViewEntityOrBuilder
- Returns:
- The sqlCode.
-
getSqlCodeBytes
public com.google.protobuf.ByteString getSqlCodeBytes()
The SQL code which creates the view.
string sql_code = 1;
- Specified by:
getSqlCodeBytes
in 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:
hasCustomFeatures
in 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:
getCustomFeatures
in 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:
getCustomFeaturesOrBuilder
in interfaceViewEntityOrBuilder
-
getConstraintsList
public List<ConstraintEntity> getConstraintsList()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
- Specified by:
getConstraintsList
in interfaceViewEntityOrBuilder
-
getConstraintsCount
public int getConstraintsCount()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
- Specified by:
getConstraintsCount
in interfaceViewEntityOrBuilder
-
getConstraints
public ConstraintEntity getConstraints(int index)
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
- Specified by:
getConstraints
in 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:
getConstraintsOrBuilder
in interfaceViewEntityOrBuilder
-
getConstraintsOrBuilderList
public List<? extends ConstraintEntityOrBuilder> getConstraintsOrBuilderList()
View constraints.
repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;
- Specified by:
getConstraintsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
mergeUnknownFields
public final ViewEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ViewEntity.Builder>
-
-