Package viam.app.data.v1
Class Data.Sequence.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Data.Sequence,Data.Sequence.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Data.Sequence,Data.Sequence.Builder>
viam.app.data.v1.Data.Sequence.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Data.SequenceOrBuilder
- Enclosing class:
Data.Sequence
public static final class Data.Sequence.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.Sequence,Data.Sequence.Builder>
implements Data.SequenceOrBuilder
Protobuf type
viam.app.data.v1.Sequence-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllResources(Iterable<? extends Data.SequenceResourceFilter> values) Resources whose data is associated with this sequence.addAllSequenceTags(Iterable<String> values) repeated string sequence_tags = 3 [json_name = "sequenceTags"];addResources(int index, Data.SequenceResourceFilter value) Resources whose data is associated with this sequence.addResources(int index, Data.SequenceResourceFilter.Builder builderForValue) Resources whose data is associated with this sequence.Resources whose data is associated with this sequence.addResources(Data.SequenceResourceFilter.Builder builderForValue) Resources whose data is associated with this sequence.addSequenceTags(String value) repeated string sequence_tags = 3 [json_name = "sequenceTags"];addSequenceTagsBytes(com.google.protobuf.ByteString value) repeated string sequence_tags = 3 [json_name = "sequenceTags"];.google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];.google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];clearId()Metadata associated with the sequence.string part_id = 9 [json_name = "partId"];Resources whose data is associated with this sequence.repeated string sequence_tags = 3 [json_name = "sequenceTags"];The time range the sequence applies to..google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];com.google.protobuf.Timestamp.google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];com.google.protobuf.Timestamp.google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];getId()Metadata associated with the sequence.com.google.protobuf.ByteStringMetadata associated with the sequence.string part_id = 9 [json_name = "partId"];com.google.protobuf.ByteStringstring part_id = 9 [json_name = "partId"];getResources(int index) Resources whose data is associated with this sequence.intResources whose data is associated with this sequence.Resources whose data is associated with this sequence.getSequenceTags(int index) repeated string sequence_tags = 3 [json_name = "sequenceTags"];com.google.protobuf.ByteStringgetSequenceTagsBytes(int index) repeated string sequence_tags = 3 [json_name = "sequenceTags"];intrepeated string sequence_tags = 3 [json_name = "sequenceTags"];repeated string sequence_tags = 3 [json_name = "sequenceTags"];com.google.protobuf.TimestampThe time range the sequence applies to.com.google.protobuf.Timestamp.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];boolean.google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];boolean.google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];booleanThe time range the sequence applies to.boolean.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];mergeCreatedAt(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];mergeEndTime(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];mergeStartTime(com.google.protobuf.Timestamp value) The time range the sequence applies to.mergeUpdatedAt(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];removeResources(int index) Resources whose data is associated with this sequence.setCreatedAt(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];setEndTime(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];Metadata associated with the sequence.setIdBytes(com.google.protobuf.ByteString value) Metadata associated with the sequence.string part_id = 9 [json_name = "partId"];setPartIdBytes(com.google.protobuf.ByteString value) string part_id = 9 [json_name = "partId"];setResources(int index, Data.SequenceResourceFilter value) Resources whose data is associated with this sequence.setResources(int index, Data.SequenceResourceFilter.Builder builderForValue) Resources whose data is associated with this sequence.setSequenceTags(int index, String value) repeated string sequence_tags = 3 [json_name = "sequenceTags"];setStartTime(com.google.protobuf.Timestamp value) The time range the sequence applies to.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time range the sequence applies to.setUpdatedAt(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
Metadata associated with the sequence.
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceData.SequenceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Metadata associated with the sequence.
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceData.SequenceOrBuilder- Returns:
- The bytes for id.
-
setId
Metadata associated with the sequence.
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Metadata associated with the sequence.
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
Metadata associated with the sequence.
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getPartId
string part_id = 9 [json_name = "partId"];- Specified by:
getPartIdin interfaceData.SequenceOrBuilder- Returns:
- The partId.
-
getPartIdBytes
public com.google.protobuf.ByteString getPartIdBytes()string part_id = 9 [json_name = "partId"];- Specified by:
getPartIdBytesin interfaceData.SequenceOrBuilder- Returns:
- The bytes for partId.
-
setPartId
string part_id = 9 [json_name = "partId"];- Parameters:
value- The partId to set.- Returns:
- This builder for chaining.
-
clearPartId
string part_id = 9 [json_name = "partId"];- Returns:
- This builder for chaining.
-
setPartIdBytes
string part_id = 9 [json_name = "partId"];- Parameters:
value- The bytes for partId to set.- Returns:
- This builder for chaining.
-
getSequenceTagsList
repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Specified by:
getSequenceTagsListin interfaceData.SequenceOrBuilder- Returns:
- A list containing the sequenceTags.
-
getSequenceTagsCount
public int getSequenceTagsCount()repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Specified by:
getSequenceTagsCountin interfaceData.SequenceOrBuilder- Returns:
- The count of sequenceTags.
-
getSequenceTags
repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Specified by:
getSequenceTagsin interfaceData.SequenceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sequenceTags at the given index.
-
getSequenceTagsBytes
public com.google.protobuf.ByteString getSequenceTagsBytes(int index) repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Specified by:
getSequenceTagsBytesin interfaceData.SequenceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sequenceTags at the given index.
-
setSequenceTags
repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Parameters:
index- The index to set the value at.value- The sequenceTags to set.- Returns:
- This builder for chaining.
-
addSequenceTags
repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Parameters:
value- The sequenceTags to add.- Returns:
- This builder for chaining.
-
addAllSequenceTags
repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Parameters:
values- The sequenceTags to add.- Returns:
- This builder for chaining.
-
clearSequenceTags
repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Returns:
- This builder for chaining.
-
addSequenceTagsBytes
repeated string sequence_tags = 3 [json_name = "sequenceTags"];- Parameters:
value- The bytes of the sequenceTags to add.- Returns:
- This builder for chaining.
-
hasCreatedAt
public boolean hasCreatedAt().google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];- Specified by:
hasCreatedAtin interfaceData.SequenceOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt().google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceData.SequenceOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
.google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"]; -
setCreatedAt
.google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"]; -
mergeCreatedAt
.google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"]; -
clearCreatedAt
.google.protobuf.Timestamp created_at = 4 [json_name = "createdAt"]; -
hasUpdatedAt
public boolean hasUpdatedAt().google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];- Specified by:
hasUpdatedAtin interfaceData.SequenceOrBuilder- Returns:
- Whether the updatedAt field is set.
-
getUpdatedAt
public com.google.protobuf.Timestamp getUpdatedAt().google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];- Specified by:
getUpdatedAtin interfaceData.SequenceOrBuilder- Returns:
- The updatedAt.
-
setUpdatedAt
.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"]; -
setUpdatedAt
.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"]; -
mergeUpdatedAt
.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"]; -
clearUpdatedAt
.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"]; -
hasStartTime
public boolean hasStartTime()The time range the sequence applies to.
.google.protobuf.Timestamp start_time = 6 [json_name = "startTime"];- Specified by:
hasStartTimein interfaceData.SequenceOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The time range the sequence applies to.
.google.protobuf.Timestamp start_time = 6 [json_name = "startTime"];- Specified by:
getStartTimein interfaceData.SequenceOrBuilder- Returns:
- The startTime.
-
setStartTime
The time range the sequence applies to.
.google.protobuf.Timestamp start_time = 6 [json_name = "startTime"]; -
setStartTime
The time range the sequence applies to.
.google.protobuf.Timestamp start_time = 6 [json_name = "startTime"]; -
mergeStartTime
The time range the sequence applies to.
.google.protobuf.Timestamp start_time = 6 [json_name = "startTime"]; -
clearStartTime
The time range the sequence applies to.
.google.protobuf.Timestamp start_time = 6 [json_name = "startTime"]; -
hasEndTime
public boolean hasEndTime().google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];- Specified by:
hasEndTimein interfaceData.SequenceOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime().google.protobuf.Timestamp end_time = 7 [json_name = "endTime"];- Specified by:
getEndTimein interfaceData.SequenceOrBuilder- Returns:
- The endTime.
-
setEndTime
.google.protobuf.Timestamp end_time = 7 [json_name = "endTime"]; -
setEndTime
.google.protobuf.Timestamp end_time = 7 [json_name = "endTime"]; -
mergeEndTime
.google.protobuf.Timestamp end_time = 7 [json_name = "endTime"]; -
clearEndTime
.google.protobuf.Timestamp end_time = 7 [json_name = "endTime"]; -
getResourcesList
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"];- Specified by:
getResourcesListin interfaceData.SequenceOrBuilder
-
getResourcesCount
public int getResourcesCount()Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"];- Specified by:
getResourcesCountin interfaceData.SequenceOrBuilder
-
getResources
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"];- Specified by:
getResourcesin interfaceData.SequenceOrBuilder
-
setResources
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
setResources
public Data.Sequence.Builder setResources(int index, Data.SequenceResourceFilter.Builder builderForValue) Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
addResources
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
addResources
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
addResources
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
addResources
public Data.Sequence.Builder addResources(int index, Data.SequenceResourceFilter.Builder builderForValue) Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
addAllResources
public Data.Sequence.Builder addAllResources(Iterable<? extends Data.SequenceResourceFilter> values) Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
clearResources
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"]; -
removeResources
Resources whose data is associated with this sequence.
repeated .viam.app.data.v1.SequenceResourceFilter resources = 8 [json_name = "resources"];
-