Package com.google.cloud.dataform.v1
Class RelationDescriptor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
com.google.cloud.dataform.v1.RelationDescriptor.Builder
- All Implemented Interfaces:
RelationDescriptorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RelationDescriptor
public static final class RelationDescriptor.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
implements RelationDescriptorOrBuilder
Describes a relation and its columns.Protobuf type
google.cloud.dataform.v1.RelationDescriptor-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumns(Iterable<? extends RelationDescriptor.ColumnDescriptor> values) A list of descriptions of columns within the relation.addColumns(int index, RelationDescriptor.ColumnDescriptor value) A list of descriptions of columns within the relation.addColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue) A list of descriptions of columns within the relation.A list of descriptions of columns within the relation.addColumns(RelationDescriptor.ColumnDescriptor.Builder builderForValue) A list of descriptions of columns within the relation.A list of descriptions of columns within the relation.addColumnsBuilder(int index) A list of descriptions of columns within the relation.build()clear()A list of descriptions of columns within the relation.A text description of the relation.booleanA set of BigQuery labels that should be applied to the relation.Deprecated.intA set of BigQuery labels that should be applied to the relation.A set of BigQuery labels that should be applied to the relation.getBigqueryLabelsOrDefault(String key, String defaultValue) A set of BigQuery labels that should be applied to the relation.A set of BigQuery labels that should be applied to the relation.getColumns(int index) A list of descriptions of columns within the relation.getColumnsBuilder(int index) A list of descriptions of columns within the relation.A list of descriptions of columns within the relation.intA list of descriptions of columns within the relation.A list of descriptions of columns within the relation.getColumnsOrBuilder(int index) A list of descriptions of columns within the relation.List<? extends RelationDescriptor.ColumnDescriptorOrBuilder>A list of descriptions of columns within the relation.A text description of the relation.com.google.protobuf.ByteStringA text description of the relation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(RelationDescriptor other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllBigqueryLabels(Map<String, String> values) A set of BigQuery labels that should be applied to the relation.putBigqueryLabels(String key, String value) A set of BigQuery labels that should be applied to the relation.A set of BigQuery labels that should be applied to the relation.removeColumns(int index) A list of descriptions of columns within the relation.setColumns(int index, RelationDescriptor.ColumnDescriptor value) A list of descriptions of columns within the relation.setColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue) A list of descriptions of columns within the relation.setDescription(String value) A text description of the relation.setDescriptionBytes(com.google.protobuf.ByteString value) A text description of the relation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.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.GeneratedMessage.Builder<RelationDescriptor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RelationDescriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RelationDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.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<RelationDescriptor.Builder>- Throws:
IOException
-
getDescription
A text description of the relation.
string description = 1;- Specified by:
getDescriptionin interfaceRelationDescriptorOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A text description of the relation.
string description = 1;- Specified by:
getDescriptionBytesin interfaceRelationDescriptorOrBuilder- Returns:
- The bytes for description.
-
setDescription
A text description of the relation.
string description = 1;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A text description of the relation.
string description = 1;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A text description of the relation.
string description = 1;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getColumnsList
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsListin interfaceRelationDescriptorOrBuilder
-
getColumnsCount
public int getColumnsCount()A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsCountin interfaceRelationDescriptorOrBuilder
-
getColumns
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsin interfaceRelationDescriptorOrBuilder
-
setColumns
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
setColumns
public RelationDescriptor.Builder setColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue) A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
addColumns
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
addColumns
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
addColumns
public RelationDescriptor.Builder addColumns(RelationDescriptor.ColumnDescriptor.Builder builderForValue) A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
addColumns
public RelationDescriptor.Builder addColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue) A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
addAllColumns
public RelationDescriptor.Builder addAllColumns(Iterable<? extends RelationDescriptor.ColumnDescriptor> values) A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
clearColumns
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
removeColumns
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
getColumnsBuilder
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
getColumnsOrBuilder
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsOrBuilderin interfaceRelationDescriptorOrBuilder
-
getColumnsOrBuilderList
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2;- Specified by:
getColumnsOrBuilderListin interfaceRelationDescriptorOrBuilder
-
addColumnsBuilder
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
addColumnsBuilder
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
getColumnsBuilderList
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1.RelationDescriptor.ColumnDescriptor columns = 2; -
getBigqueryLabelsCount
public int getBigqueryLabelsCount()Description copied from interface:RelationDescriptorOrBuilderA set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
getBigqueryLabelsCountin interfaceRelationDescriptorOrBuilder
-
containsBigqueryLabels
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
containsBigqueryLabelsin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabels
Deprecated.UsegetBigqueryLabelsMap()instead.- Specified by:
getBigqueryLabelsin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsMap
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
getBigqueryLabelsMapin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsOrDefault
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
getBigqueryLabelsOrDefaultin interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsOrThrow
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;- Specified by:
getBigqueryLabelsOrThrowin interfaceRelationDescriptorOrBuilder
-
clearBigqueryLabels
-
removeBigqueryLabels
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3; -
getMutableBigqueryLabels
Deprecated.Use alternate mutation accessors instead. -
putBigqueryLabels
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3; -
putAllBigqueryLabels
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
-