Class RelationDescriptor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
- com.google.cloud.dataform.v1beta1.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.GeneratedMessageV3.Builder<RelationDescriptor.Builder> implements RelationDescriptorOrBuilder
Describes a relation and its columns.
Protobuf typegoogle.cloud.dataform.v1beta1.RelationDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RelationDescriptor.Builder
addAllColumns(Iterable<? extends RelationDescriptor.ColumnDescriptor> values)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
addColumns(int index, RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
addColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
addColumns(RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
addColumns(RelationDescriptor.ColumnDescriptor.Builder builderForValue)
A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptor.Builder
addColumnsBuilder()
A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptor.Builder
addColumnsBuilder(int index)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RelationDescriptor
build()
RelationDescriptor
buildPartial()
RelationDescriptor.Builder
clear()
RelationDescriptor.Builder
clearBigqueryLabels()
RelationDescriptor.Builder
clearColumns()
A list of descriptions of columns within the relation.RelationDescriptor.Builder
clearDescription()
A text description of the relation.RelationDescriptor.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RelationDescriptor.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RelationDescriptor.Builder
clone()
boolean
containsBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.Map<String,String>
getBigqueryLabels()
Deprecated.int
getBigqueryLabelsCount()
A set of BigQuery labels that should be applied to the relation.Map<String,String>
getBigqueryLabelsMap()
A set of BigQuery labels that should be applied to the relation.String
getBigqueryLabelsOrDefault(String key, String defaultValue)
A set of BigQuery labels that should be applied to the relation.String
getBigqueryLabelsOrThrow(String key)
A set of BigQuery labels that should be applied to the relation.RelationDescriptor.ColumnDescriptor
getColumns(int index)
A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptor.Builder
getColumnsBuilder(int index)
A list of descriptions of columns within the relation.List<RelationDescriptor.ColumnDescriptor.Builder>
getColumnsBuilderList()
A list of descriptions of columns within the relation.int
getColumnsCount()
A list of descriptions of columns within the relation.List<RelationDescriptor.ColumnDescriptor>
getColumnsList()
A list of descriptions of columns within the relation.RelationDescriptor.ColumnDescriptorOrBuilder
getColumnsOrBuilder(int index)
A list of descriptions of columns within the relation.List<? extends RelationDescriptor.ColumnDescriptorOrBuilder>
getColumnsOrBuilderList()
A list of descriptions of columns within the relation.RelationDescriptor
getDefaultInstanceForType()
String
getDescription()
A text description of the relation.com.google.protobuf.ByteString
getDescriptionBytes()
A text description of the relation.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,String>
getMutableBigqueryLabels()
Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
RelationDescriptor.Builder
mergeFrom(RelationDescriptor other)
RelationDescriptor.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RelationDescriptor.Builder
mergeFrom(com.google.protobuf.Message other)
RelationDescriptor.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RelationDescriptor.Builder
putAllBigqueryLabels(Map<String,String> values)
A set of BigQuery labels that should be applied to the relation.RelationDescriptor.Builder
putBigqueryLabels(String key, String value)
A set of BigQuery labels that should be applied to the relation.RelationDescriptor.Builder
removeBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.RelationDescriptor.Builder
removeColumns(int index)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
setColumns(int index, RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
setColumns(int index, RelationDescriptor.ColumnDescriptor.Builder builderForValue)
A list of descriptions of columns within the relation.RelationDescriptor.Builder
setDescription(String value)
A text description of the relation.RelationDescriptor.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A text description of the relation.RelationDescriptor.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RelationDescriptor.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RelationDescriptor.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
clear
public RelationDescriptor.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<RelationDescriptor.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<RelationDescriptor.Builder>
-
getDefaultInstanceForType
public RelationDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RelationDescriptor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RelationDescriptor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RelationDescriptor.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<RelationDescriptor.Builder>
-
setField
public RelationDescriptor.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<RelationDescriptor.Builder>
-
clearField
public RelationDescriptor.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<RelationDescriptor.Builder>
-
clearOneof
public RelationDescriptor.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<RelationDescriptor.Builder>
-
setRepeatedField
public RelationDescriptor.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<RelationDescriptor.Builder>
-
addRepeatedField
public RelationDescriptor.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<RelationDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RelationDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.Builder mergeFrom(RelationDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
mergeFrom
public RelationDescriptor.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<RelationDescriptor.Builder>
- Throws:
IOException
-
getDescription
public String getDescription()
A text description of the relation.
string description = 1;
- Specified by:
getDescription
in interfaceRelationDescriptorOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A text description of the relation.
string description = 1;
- Specified by:
getDescriptionBytes
in interfaceRelationDescriptorOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public RelationDescriptor.Builder setDescription(String value)
A text description of the relation.
string description = 1;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public RelationDescriptor.Builder clearDescription()
A text description of the relation.
string description = 1;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public RelationDescriptor.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A text description of the relation.
string description = 1;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getColumnsList
public List<RelationDescriptor.ColumnDescriptor> getColumnsList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
- Specified by:
getColumnsList
in interfaceRelationDescriptorOrBuilder
-
getColumnsCount
public int getColumnsCount()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
- Specified by:
getColumnsCount
in interfaceRelationDescriptorOrBuilder
-
getColumns
public RelationDescriptor.ColumnDescriptor getColumns(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
- Specified by:
getColumns
in interfaceRelationDescriptorOrBuilder
-
setColumns
public RelationDescriptor.Builder setColumns(int index, RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.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.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
addColumns
public RelationDescriptor.Builder addColumns(RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
addColumns
public RelationDescriptor.Builder addColumns(int index, RelationDescriptor.ColumnDescriptor value)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
clearColumns
public RelationDescriptor.Builder clearColumns()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
removeColumns
public RelationDescriptor.Builder removeColumns(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
getColumnsBuilder
public RelationDescriptor.ColumnDescriptor.Builder getColumnsBuilder(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
getColumnsOrBuilder
public RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
- Specified by:
getColumnsOrBuilder
in interfaceRelationDescriptorOrBuilder
-
getColumnsOrBuilderList
public List<? extends RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
- Specified by:
getColumnsOrBuilderList
in interfaceRelationDescriptorOrBuilder
-
addColumnsBuilder
public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
addColumnsBuilder
public RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder(int index)
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
getColumnsBuilderList
public List<RelationDescriptor.ColumnDescriptor.Builder> getColumnsBuilderList()
A list of descriptions of columns within the relation.
repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2;
-
getBigqueryLabelsCount
public int getBigqueryLabelsCount()
Description copied from interface:RelationDescriptorOrBuilder
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
- Specified by:
getBigqueryLabelsCount
in interfaceRelationDescriptorOrBuilder
-
containsBigqueryLabels
public boolean containsBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
- Specified by:
containsBigqueryLabels
in interfaceRelationDescriptorOrBuilder
-
getBigqueryLabels
@Deprecated public Map<String,String> getBigqueryLabels()
Deprecated.UsegetBigqueryLabelsMap()
instead.- Specified by:
getBigqueryLabels
in interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsMap
public Map<String,String> getBigqueryLabelsMap()
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
- Specified by:
getBigqueryLabelsMap
in interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsOrDefault
public String getBigqueryLabelsOrDefault(String key, String defaultValue)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
- Specified by:
getBigqueryLabelsOrDefault
in interfaceRelationDescriptorOrBuilder
-
getBigqueryLabelsOrThrow
public String getBigqueryLabelsOrThrow(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
- Specified by:
getBigqueryLabelsOrThrow
in interfaceRelationDescriptorOrBuilder
-
clearBigqueryLabels
public RelationDescriptor.Builder clearBigqueryLabels()
-
removeBigqueryLabels
public RelationDescriptor.Builder removeBigqueryLabels(String key)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
-
getMutableBigqueryLabels
@Deprecated public Map<String,String> getMutableBigqueryLabels()
Deprecated.Use alternate mutation accessors instead.
-
putBigqueryLabels
public RelationDescriptor.Builder putBigqueryLabels(String key, String value)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
-
putAllBigqueryLabels
public RelationDescriptor.Builder putAllBigqueryLabels(Map<String,String> values)
A set of BigQuery labels that should be applied to the relation.
map<string, string> bigquery_labels = 3;
-
setUnknownFields
public final RelationDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
mergeUnknownFields
public final RelationDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RelationDescriptor.Builder>
-
-