Package com.cognite.client.dto
Class AssetLookup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
- com.cognite.client.dto.AssetLookup.Builder
-
- All Implemented Interfaces:
AssetLookupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AssetLookup
public static final class AssetLookup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder> implements AssetLookupOrBuilder
Protobuf typecom.cognite.beam.proto.AssetLookup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AssetLookup.BuilderaddAllLabels(Iterable<String> values)repeated string labels = 11;AssetLookup.BuilderaddLabels(String value)repeated string labels = 11;AssetLookup.BuilderaddLabelsBytes(com.google.protobuf.ByteString value)repeated string labels = 11;AssetLookup.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AssetLookupbuild()AssetLookupbuildPartial()AssetLookup.Builderclear()AssetLookup.BuilderclearAggregates().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;AssetLookup.BuilderclearCreatedTime()optional int64 created_time = 8;AssetLookup.BuilderclearDataSetId()optional int64 data_set_id = 13;AssetLookup.BuilderclearDescription()optional string description = 6;AssetLookup.BuilderclearExternalId()optional string external_id = 2;AssetLookup.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AssetLookup.BuilderclearId()optional int64 id = 1;AssetLookup.BuilderclearLabels()repeated string labels = 11;AssetLookup.BuilderclearLastUpdatedTime()optional int64 last_updated_time = 9;AssetLookup.BuilderclearMetadata()AssetLookup.BuilderclearName()string name = 3;AssetLookup.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AssetLookup.BuilderclearParentExternalId()optional string parent_external_id = 5;AssetLookup.BuilderclearParentId()optional int64 parent_id = 4;AssetLookup.BuilderclearRootId()optional int64 root_id = 7;AssetLookup.BuilderclearRootName()The name of the root asset node in the hierarchy.AssetLookup.BuilderclearSource()optional string source = 12;AssetLookup.Builderclone()booleancontainsMetadata(String key)map<string, string> metadata = 10;Asset.AggregatesgetAggregates().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;Asset.Aggregates.BuildergetAggregatesBuilder().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;Asset.AggregatesOrBuildergetAggregatesOrBuilder().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;longgetCreatedTime()optional int64 created_time = 8;longgetDataSetId()optional int64 data_set_id = 13;AssetLookupgetDefaultInstanceForType()StringgetDescription()optional string description = 6;com.google.protobuf.ByteStringgetDescriptionBytes()optional string description = 6;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetExternalId()optional string external_id = 2;com.google.protobuf.ByteStringgetExternalIdBytes()optional string external_id = 2;longgetId()optional int64 id = 1;StringgetLabels(int index)repeated string labels = 11;com.google.protobuf.ByteStringgetLabelsBytes(int index)repeated string labels = 11;intgetLabelsCount()repeated string labels = 11;com.google.protobuf.ProtocolStringListgetLabelsList()repeated string labels = 11;longgetLastUpdatedTime()optional int64 last_updated_time = 9;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 10;Map<String,String>getMetadataMap()map<string, string> metadata = 10;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 10;StringgetMetadataOrThrow(String key)map<string, string> metadata = 10;Map<String,String>getMutableMetadata()Deprecated.StringgetName()string name = 3;com.google.protobuf.ByteStringgetNameBytes()string name = 3;StringgetParentExternalId()optional string parent_external_id = 5;com.google.protobuf.ByteStringgetParentExternalIdBytes()optional string parent_external_id = 5;longgetParentId()optional int64 parent_id = 4;longgetRootId()optional int64 root_id = 7;StringgetRootName()The name of the root asset node in the hierarchy.com.google.protobuf.ByteStringgetRootNameBytes()The name of the root asset node in the hierarchy.StringgetSource()optional string source = 12;com.google.protobuf.ByteStringgetSourceBytes()optional string source = 12;booleanhasAggregates().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;booleanhasCreatedTime()optional int64 created_time = 8;booleanhasDataSetId()optional int64 data_set_id = 13;booleanhasDescription()optional string description = 6;booleanhasExternalId()optional string external_id = 2;booleanhasId()optional int64 id = 1;booleanhasLastUpdatedTime()optional int64 last_updated_time = 9;booleanhasParentExternalId()optional string parent_external_id = 5;booleanhasParentId()optional int64 parent_id = 4;booleanhasRootId()optional int64 root_id = 7;booleanhasRootName()The name of the root asset node in the hierarchy.booleanhasSource()optional string source = 12;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()AssetLookup.BuildermergeAggregates(Asset.Aggregates value).com.cognite.beam.proto.Asset.Aggregates aggregates = 15;AssetLookup.BuildermergeFrom(AssetLookup other)AssetLookup.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AssetLookup.BuildermergeFrom(com.google.protobuf.Message other)AssetLookup.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AssetLookup.BuilderputAllMetadata(Map<String,String> values)map<string, string> metadata = 10;AssetLookup.BuilderputMetadata(String key, String value)map<string, string> metadata = 10;AssetLookup.BuilderremoveMetadata(String key)map<string, string> metadata = 10;AssetLookup.BuildersetAggregates(Asset.Aggregates value).com.cognite.beam.proto.Asset.Aggregates aggregates = 15;AssetLookup.BuildersetAggregates(Asset.Aggregates.Builder builderForValue).com.cognite.beam.proto.Asset.Aggregates aggregates = 15;AssetLookup.BuildersetCreatedTime(long value)optional int64 created_time = 8;AssetLookup.BuildersetDataSetId(long value)optional int64 data_set_id = 13;AssetLookup.BuildersetDescription(String value)optional string description = 6;AssetLookup.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)optional string description = 6;AssetLookup.BuildersetExternalId(String value)optional string external_id = 2;AssetLookup.BuildersetExternalIdBytes(com.google.protobuf.ByteString value)optional string external_id = 2;AssetLookup.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AssetLookup.BuildersetId(long value)optional int64 id = 1;AssetLookup.BuildersetLabels(int index, String value)repeated string labels = 11;AssetLookup.BuildersetLastUpdatedTime(long value)optional int64 last_updated_time = 9;AssetLookup.BuildersetName(String value)string name = 3;AssetLookup.BuildersetNameBytes(com.google.protobuf.ByteString value)string name = 3;AssetLookup.BuildersetParentExternalId(String value)optional string parent_external_id = 5;AssetLookup.BuildersetParentExternalIdBytes(com.google.protobuf.ByteString value)optional string parent_external_id = 5;AssetLookup.BuildersetParentId(long value)optional int64 parent_id = 4;AssetLookup.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AssetLookup.BuildersetRootId(long value)optional int64 root_id = 7;AssetLookup.BuildersetRootName(String value)The name of the root asset node in the hierarchy.AssetLookup.BuildersetRootNameBytes(com.google.protobuf.ByteString value)The name of the root asset node in the hierarchy.AssetLookup.BuildersetSource(String value)optional string source = 12;AssetLookup.BuildersetSourceBytes(com.google.protobuf.ByteString value)optional string source = 12;AssetLookup.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
clear
public AssetLookup.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<AssetLookup.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<AssetLookup.Builder>
-
getDefaultInstanceForType
public AssetLookup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AssetLookup build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AssetLookup buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AssetLookup.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<AssetLookup.Builder>
-
setField
public AssetLookup.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<AssetLookup.Builder>
-
clearField
public AssetLookup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
clearOneof
public AssetLookup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
setRepeatedField
public AssetLookup.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<AssetLookup.Builder>
-
addRepeatedField
public AssetLookup.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<AssetLookup.Builder>
-
mergeFrom
public AssetLookup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AssetLookup.Builder>
-
mergeFrom
public AssetLookup.Builder mergeFrom(AssetLookup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
mergeFrom
public AssetLookup.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<AssetLookup.Builder>- Throws:
IOException
-
hasId
public boolean hasId()
optional int64 id = 1;- Specified by:
hasIdin interfaceAssetLookupOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
optional int64 id = 1;- Specified by:
getIdin interfaceAssetLookupOrBuilder- Returns:
- The id.
-
setId
public AssetLookup.Builder setId(long value)
optional int64 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public AssetLookup.Builder clearId()
optional int64 id = 1;- Returns:
- This builder for chaining.
-
hasExternalId
public boolean hasExternalId()
optional string external_id = 2;- Specified by:
hasExternalIdin interfaceAssetLookupOrBuilder- Returns:
- Whether the externalId field is set.
-
getExternalId
public String getExternalId()
optional string external_id = 2;- Specified by:
getExternalIdin interfaceAssetLookupOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()
optional string external_id = 2;- Specified by:
getExternalIdBytesin interfaceAssetLookupOrBuilder- Returns:
- The bytes for externalId.
-
setExternalId
public AssetLookup.Builder setExternalId(String value)
optional string external_id = 2;- Parameters:
value- The externalId to set.- Returns:
- This builder for chaining.
-
clearExternalId
public AssetLookup.Builder clearExternalId()
optional string external_id = 2;- Returns:
- This builder for chaining.
-
setExternalIdBytes
public AssetLookup.Builder setExternalIdBytes(com.google.protobuf.ByteString value)
optional string external_id = 2;- Parameters:
value- The bytes for externalId to set.- Returns:
- This builder for chaining.
-
getName
public String getName()
string name = 3;- Specified by:
getNamein interfaceAssetLookupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 3;- Specified by:
getNameBytesin interfaceAssetLookupOrBuilder- Returns:
- The bytes for name.
-
setName
public AssetLookup.Builder setName(String value)
string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AssetLookup.Builder clearName()
string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
public AssetLookup.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasParentId
public boolean hasParentId()
optional int64 parent_id = 4;- Specified by:
hasParentIdin interfaceAssetLookupOrBuilder- Returns:
- Whether the parentId field is set.
-
getParentId
public long getParentId()
optional int64 parent_id = 4;- Specified by:
getParentIdin interfaceAssetLookupOrBuilder- Returns:
- The parentId.
-
setParentId
public AssetLookup.Builder setParentId(long value)
optional int64 parent_id = 4;- Parameters:
value- The parentId to set.- Returns:
- This builder for chaining.
-
clearParentId
public AssetLookup.Builder clearParentId()
optional int64 parent_id = 4;- Returns:
- This builder for chaining.
-
hasParentExternalId
public boolean hasParentExternalId()
optional string parent_external_id = 5;- Specified by:
hasParentExternalIdin interfaceAssetLookupOrBuilder- Returns:
- Whether the parentExternalId field is set.
-
getParentExternalId
public String getParentExternalId()
optional string parent_external_id = 5;- Specified by:
getParentExternalIdin interfaceAssetLookupOrBuilder- Returns:
- The parentExternalId.
-
getParentExternalIdBytes
public com.google.protobuf.ByteString getParentExternalIdBytes()
optional string parent_external_id = 5;- Specified by:
getParentExternalIdBytesin interfaceAssetLookupOrBuilder- Returns:
- The bytes for parentExternalId.
-
setParentExternalId
public AssetLookup.Builder setParentExternalId(String value)
optional string parent_external_id = 5;- Parameters:
value- The parentExternalId to set.- Returns:
- This builder for chaining.
-
clearParentExternalId
public AssetLookup.Builder clearParentExternalId()
optional string parent_external_id = 5;- Returns:
- This builder for chaining.
-
setParentExternalIdBytes
public AssetLookup.Builder setParentExternalIdBytes(com.google.protobuf.ByteString value)
optional string parent_external_id = 5;- Parameters:
value- The bytes for parentExternalId to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
optional string description = 6;- Specified by:
hasDescriptionin interfaceAssetLookupOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
optional string description = 6;- Specified by:
getDescriptionin interfaceAssetLookupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 6;- Specified by:
getDescriptionBytesin interfaceAssetLookupOrBuilder- Returns:
- The bytes for description.
-
setDescription
public AssetLookup.Builder setDescription(String value)
optional string description = 6;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public AssetLookup.Builder clearDescription()
optional string description = 6;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public AssetLookup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 6;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasRootId
public boolean hasRootId()
optional int64 root_id = 7;- Specified by:
hasRootIdin interfaceAssetLookupOrBuilder- Returns:
- Whether the rootId field is set.
-
getRootId
public long getRootId()
optional int64 root_id = 7;- Specified by:
getRootIdin interfaceAssetLookupOrBuilder- Returns:
- The rootId.
-
setRootId
public AssetLookup.Builder setRootId(long value)
optional int64 root_id = 7;- Parameters:
value- The rootId to set.- Returns:
- This builder for chaining.
-
clearRootId
public AssetLookup.Builder clearRootId()
optional int64 root_id = 7;- Returns:
- This builder for chaining.
-
hasCreatedTime
public boolean hasCreatedTime()
optional int64 created_time = 8;- Specified by:
hasCreatedTimein interfaceAssetLookupOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public long getCreatedTime()
optional int64 created_time = 8;- Specified by:
getCreatedTimein interfaceAssetLookupOrBuilder- Returns:
- The createdTime.
-
setCreatedTime
public AssetLookup.Builder setCreatedTime(long value)
optional int64 created_time = 8;- Parameters:
value- The createdTime to set.- Returns:
- This builder for chaining.
-
clearCreatedTime
public AssetLookup.Builder clearCreatedTime()
optional int64 created_time = 8;- Returns:
- This builder for chaining.
-
hasLastUpdatedTime
public boolean hasLastUpdatedTime()
optional int64 last_updated_time = 9;- Specified by:
hasLastUpdatedTimein interfaceAssetLookupOrBuilder- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
public long getLastUpdatedTime()
optional int64 last_updated_time = 9;- Specified by:
getLastUpdatedTimein interfaceAssetLookupOrBuilder- Returns:
- The lastUpdatedTime.
-
setLastUpdatedTime
public AssetLookup.Builder setLastUpdatedTime(long value)
optional int64 last_updated_time = 9;- Parameters:
value- The lastUpdatedTime to set.- Returns:
- This builder for chaining.
-
clearLastUpdatedTime
public AssetLookup.Builder clearLastUpdatedTime()
optional int64 last_updated_time = 9;- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:AssetLookupOrBuildermap<string, string> metadata = 10;- Specified by:
getMetadataCountin interfaceAssetLookupOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
map<string, string> metadata = 10;- Specified by:
containsMetadatain interfaceAssetLookupOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceAssetLookupOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
map<string, string> metadata = 10;- Specified by:
getMetadataMapin interfaceAssetLookupOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 10;- Specified by:
getMetadataOrDefaultin interfaceAssetLookupOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
map<string, string> metadata = 10;- Specified by:
getMetadataOrThrowin interfaceAssetLookupOrBuilder
-
clearMetadata
public AssetLookup.Builder clearMetadata()
-
removeMetadata
public AssetLookup.Builder removeMetadata(String key)
map<string, string> metadata = 10;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public AssetLookup.Builder putMetadata(String key, String value)
map<string, string> metadata = 10;
-
putAllMetadata
public AssetLookup.Builder putAllMetadata(Map<String,String> values)
map<string, string> metadata = 10;
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()
repeated string labels = 11;- Specified by:
getLabelsListin interfaceAssetLookupOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()
repeated string labels = 11;- Specified by:
getLabelsCountin interfaceAssetLookupOrBuilder- Returns:
- The count of labels.
-
getLabels
public String getLabels(int index)
repeated string labels = 11;- Specified by:
getLabelsin interfaceAssetLookupOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index)
repeated string labels = 11;- Specified by:
getLabelsBytesin interfaceAssetLookupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
public AssetLookup.Builder setLabels(int index, String value)
repeated string labels = 11;- Parameters:
index- The index to set the value at.value- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
public AssetLookup.Builder addLabels(String value)
repeated string labels = 11;- Parameters:
value- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
public AssetLookup.Builder addAllLabels(Iterable<String> values)
repeated string labels = 11;- Parameters:
values- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
public AssetLookup.Builder clearLabels()
repeated string labels = 11;- Returns:
- This builder for chaining.
-
addLabelsBytes
public AssetLookup.Builder addLabelsBytes(com.google.protobuf.ByteString value)
repeated string labels = 11;- Parameters:
value- The bytes of the labels to add.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()
optional string source = 12;- Specified by:
hasSourcein interfaceAssetLookupOrBuilder- Returns:
- Whether the source field is set.
-
getSource
public String getSource()
optional string source = 12;- Specified by:
getSourcein interfaceAssetLookupOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
optional string source = 12;- Specified by:
getSourceBytesin interfaceAssetLookupOrBuilder- Returns:
- The bytes for source.
-
setSource
public AssetLookup.Builder setSource(String value)
optional string source = 12;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
public AssetLookup.Builder clearSource()
optional string source = 12;- Returns:
- This builder for chaining.
-
setSourceBytes
public AssetLookup.Builder setSourceBytes(com.google.protobuf.ByteString value)
optional string source = 12;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
hasDataSetId
public boolean hasDataSetId()
optional int64 data_set_id = 13;- Specified by:
hasDataSetIdin interfaceAssetLookupOrBuilder- Returns:
- Whether the dataSetId field is set.
-
getDataSetId
public long getDataSetId()
optional int64 data_set_id = 13;- Specified by:
getDataSetIdin interfaceAssetLookupOrBuilder- Returns:
- The dataSetId.
-
setDataSetId
public AssetLookup.Builder setDataSetId(long value)
optional int64 data_set_id = 13;- Parameters:
value- The dataSetId to set.- Returns:
- This builder for chaining.
-
clearDataSetId
public AssetLookup.Builder clearDataSetId()
optional int64 data_set_id = 13;- Returns:
- This builder for chaining.
-
hasRootName
public boolean hasRootName()
The name of the root asset node in the hierarchy.
optional string root_name = 14;- Specified by:
hasRootNamein interfaceAssetLookupOrBuilder- Returns:
- Whether the rootName field is set.
-
getRootName
public String getRootName()
The name of the root asset node in the hierarchy.
optional string root_name = 14;- Specified by:
getRootNamein interfaceAssetLookupOrBuilder- Returns:
- The rootName.
-
getRootNameBytes
public com.google.protobuf.ByteString getRootNameBytes()
The name of the root asset node in the hierarchy.
optional string root_name = 14;- Specified by:
getRootNameBytesin interfaceAssetLookupOrBuilder- Returns:
- The bytes for rootName.
-
setRootName
public AssetLookup.Builder setRootName(String value)
The name of the root asset node in the hierarchy.
optional string root_name = 14;- Parameters:
value- The rootName to set.- Returns:
- This builder for chaining.
-
clearRootName
public AssetLookup.Builder clearRootName()
The name of the root asset node in the hierarchy.
optional string root_name = 14;- Returns:
- This builder for chaining.
-
setRootNameBytes
public AssetLookup.Builder setRootNameBytes(com.google.protobuf.ByteString value)
The name of the root asset node in the hierarchy.
optional string root_name = 14;- Parameters:
value- The bytes for rootName to set.- Returns:
- This builder for chaining.
-
hasAggregates
public boolean hasAggregates()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;- Specified by:
hasAggregatesin interfaceAssetLookupOrBuilder- Returns:
- Whether the aggregates field is set.
-
getAggregates
public Asset.Aggregates getAggregates()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;- Specified by:
getAggregatesin interfaceAssetLookupOrBuilder- Returns:
- The aggregates.
-
setAggregates
public AssetLookup.Builder setAggregates(Asset.Aggregates value)
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
-
setAggregates
public AssetLookup.Builder setAggregates(Asset.Aggregates.Builder builderForValue)
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
-
mergeAggregates
public AssetLookup.Builder mergeAggregates(Asset.Aggregates value)
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
-
clearAggregates
public AssetLookup.Builder clearAggregates()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
-
getAggregatesBuilder
public Asset.Aggregates.Builder getAggregatesBuilder()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
-
getAggregatesOrBuilder
public Asset.AggregatesOrBuilder getAggregatesOrBuilder()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;- Specified by:
getAggregatesOrBuilderin interfaceAssetLookupOrBuilder
-
setUnknownFields
public final AssetLookup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
mergeUnknownFields
public final AssetLookup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetLookup.Builder>
-
-