Package viam.app.dataset.v1
Class DatasetOuterClass.Dataset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DatasetOuterClass.Dataset,DatasetOuterClass.Dataset.Builder>
viam.app.dataset.v1.DatasetOuterClass.Dataset.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DatasetOuterClass.DatasetOrBuilder
- Enclosing class:
- DatasetOuterClass.Dataset
public static final class DatasetOuterClass.Dataset.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DatasetOuterClass.Dataset,DatasetOuterClass.Dataset.Builder>
implements DatasetOuterClass.DatasetOrBuilder
Dataset stores the metadata of a dataset.Protobuf type
viam.app.dataset.v1.Dataset
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearId()
string id = 1 [json_name = "id"];
string name = 2 [json_name = "name"];
string organization_id = 3 [json_name = "organizationId"];
.google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
getName()
string name = 2 [json_name = "name"];
com.google.protobuf.ByteString
string name = 2 [json_name = "name"];
string organization_id = 3 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 3 [json_name = "organizationId"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
boolean
.google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
mergeTimeCreated
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
string name = 2 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 2 [json_name = "name"];
setOrganizationId
(String value) string organization_id = 3 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 3 [json_name = "organizationId"];
setTimeCreated
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
setTimeCreated
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getOrganizationId
string organization_id = 3 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 3 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 3 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 3 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public DatasetOuterClass.Dataset.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 3 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
hasTimeCreated
public boolean hasTimeCreated().google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
- Specified by:
hasTimeCreated
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- Whether the timeCreated field is set.
-
getTimeCreated
public com.google.protobuf.Timestamp getTimeCreated().google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
- Specified by:
getTimeCreated
in interfaceDatasetOuterClass.DatasetOrBuilder
- Returns:
- The timeCreated.
-
setTimeCreated
.google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
-
setTimeCreated
public DatasetOuterClass.Dataset.Builder setTimeCreated(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
-
mergeTimeCreated
.google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
-
clearTimeCreated
.google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
-