Package viam.app.mltraining.v1
Class MlTraining.Container.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MlTraining.Container,MlTraining.Container.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.Container,MlTraining.Container.Builder>
viam.app.mltraining.v1.MlTraining.Container.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,MlTraining.ContainerOrBuilder
- Enclosing class:
MlTraining.Container
public static final class MlTraining.Container.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.Container,MlTraining.Container.Builder>
implements MlTraining.ContainerOrBuilder
Protobuf type
viam.app.mltraining.v1.Container-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];will serve as display nameclearEol()unset for custom containersunset for custom containersclearId()unique id of the containerclearKey()custom container keys are derived from the Docker URI (image:tag)string organization_id = 6 [json_name = "organizationId"];clearUri()string uri = 2 [json_name = "uri"];public or privatecom.google.protobuf.Timestamp.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];will serve as display namecom.google.protobuf.ByteStringwill serve as display namecom.google.protobuf.TimestampgetEol()unset for custom containersunset for custom containerscom.google.protobuf.ByteStringunset for custom containersgetId()unique id of the containercom.google.protobuf.ByteStringunique id of the containergetKey()custom container keys are derived from the Docker URI (image:tag)com.google.protobuf.ByteStringcustom container keys are derived from the Docker URI (image:tag)string organization_id = 6 [json_name = "organizationId"];com.google.protobuf.ByteStringstring organization_id = 6 [json_name = "organizationId"];getUri()string uri = 2 [json_name = "uri"];com.google.protobuf.ByteStringstring uri = 2 [json_name = "uri"];public or privateintpublic or privateboolean.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];booleanhasEol()unset for custom containersmergeCreatedOn(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];mergeEol(com.google.protobuf.Timestamp value) unset for custom containerssetCreatedOn(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];setDescription(String value) will serve as display namesetDescriptionBytes(com.google.protobuf.ByteString value) will serve as display namesetEol(com.google.protobuf.Timestamp value) unset for custom containerssetEol(com.google.protobuf.Timestamp.Builder builderForValue) unset for custom containerssetFramework(String value) unset for custom containerssetFrameworkBytes(com.google.protobuf.ByteString value) unset for custom containersunique id of the containersetIdBytes(com.google.protobuf.ByteString value) unique id of the containercustom container keys are derived from the Docker URI (image:tag)setKeyBytes(com.google.protobuf.ByteString value) custom container keys are derived from the Docker URI (image:tag)setOrganizationId(String value) string organization_id = 6 [json_name = "organizationId"];setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 6 [json_name = "organizationId"];string uri = 2 [json_name = "uri"];setUriBytes(com.google.protobuf.ByteString value) string uri = 2 [json_name = "uri"];public or privatesetVisibilityValue(int value) public or privateMethods 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
-
getKey
custom container keys are derived from the Docker URI (image:tag)
string key = 1 [json_name = "key"];- Specified by:
getKeyin interfaceMlTraining.ContainerOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()custom container keys are derived from the Docker URI (image:tag)
string key = 1 [json_name = "key"];- Specified by:
getKeyBytesin interfaceMlTraining.ContainerOrBuilder- Returns:
- The bytes for key.
-
setKey
custom container keys are derived from the Docker URI (image:tag)
string key = 1 [json_name = "key"];- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
custom container keys are derived from the Docker URI (image:tag)
string key = 1 [json_name = "key"];- Returns:
- This builder for chaining.
-
setKeyBytes
custom container keys are derived from the Docker URI (image:tag)
string key = 1 [json_name = "key"];- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
getUri
string uri = 2 [json_name = "uri"];- Specified by:
getUriin interfaceMlTraining.ContainerOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()string uri = 2 [json_name = "uri"];- Specified by:
getUriBytesin interfaceMlTraining.ContainerOrBuilder- Returns:
- The bytes for uri.
-
setUri
string uri = 2 [json_name = "uri"];- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
string uri = 2 [json_name = "uri"];- Returns:
- This builder for chaining.
-
setUriBytes
string uri = 2 [json_name = "uri"];- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getFramework
unset for custom containers
string framework = 3 [json_name = "framework"];- Specified by:
getFrameworkin interfaceMlTraining.ContainerOrBuilder- Returns:
- The framework.
-
getFrameworkBytes
public com.google.protobuf.ByteString getFrameworkBytes()unset for custom containers
string framework = 3 [json_name = "framework"];- Specified by:
getFrameworkBytesin interfaceMlTraining.ContainerOrBuilder- Returns:
- The bytes for framework.
-
setFramework
unset for custom containers
string framework = 3 [json_name = "framework"];- Parameters:
value- The framework to set.- Returns:
- This builder for chaining.
-
clearFramework
unset for custom containers
string framework = 3 [json_name = "framework"];- Returns:
- This builder for chaining.
-
setFrameworkBytes
unset for custom containers
string framework = 3 [json_name = "framework"];- Parameters:
value- The bytes for framework to set.- Returns:
- This builder for chaining.
-
getDescription
will serve as display name
string description = 4 [json_name = "description"];- Specified by:
getDescriptionin interfaceMlTraining.ContainerOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()will serve as display name
string description = 4 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceMlTraining.ContainerOrBuilder- Returns:
- The bytes for description.
-
setDescription
will serve as display name
string description = 4 [json_name = "description"];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
will serve as display name
string description = 4 [json_name = "description"];- Returns:
- This builder for chaining.
-
setDescriptionBytes
will serve as display name
string description = 4 [json_name = "description"];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEol
public boolean hasEol()unset for custom containers
.google.protobuf.Timestamp eol = 5 [json_name = "eol"];- Specified by:
hasEolin interfaceMlTraining.ContainerOrBuilder- Returns:
- Whether the eol field is set.
-
getEol
public com.google.protobuf.Timestamp getEol()unset for custom containers
.google.protobuf.Timestamp eol = 5 [json_name = "eol"];- Specified by:
getEolin interfaceMlTraining.ContainerOrBuilder- Returns:
- The eol.
-
setEol
unset for custom containers
.google.protobuf.Timestamp eol = 5 [json_name = "eol"]; -
setEol
unset for custom containers
.google.protobuf.Timestamp eol = 5 [json_name = "eol"]; -
mergeEol
unset for custom containers
.google.protobuf.Timestamp eol = 5 [json_name = "eol"]; -
clearEol
unset for custom containers
.google.protobuf.Timestamp eol = 5 [json_name = "eol"]; -
getOrganizationId
string organization_id = 6 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceMlTraining.ContainerOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 6 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceMlTraining.ContainerOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 6 [json_name = "organizationId"];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 6 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
string organization_id = 6 [json_name = "organizationId"];- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
hasCreatedOn
public boolean hasCreatedOn().google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];- Specified by:
hasCreatedOnin interfaceMlTraining.ContainerOrBuilder- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn().google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];- Specified by:
getCreatedOnin interfaceMlTraining.ContainerOrBuilder- Returns:
- The createdOn.
-
setCreatedOn
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
setCreatedOn
public MlTraining.Container.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
mergeCreatedOn
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
clearCreatedOn
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
getId
unique id of the container
string id = 8 [json_name = "id"];- Specified by:
getIdin interfaceMlTraining.ContainerOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()unique id of the container
string id = 8 [json_name = "id"];- Specified by:
getIdBytesin interfaceMlTraining.ContainerOrBuilder- Returns:
- The bytes for id.
-
setId
unique id of the container
string id = 8 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
unique id of the container
string id = 8 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
unique id of the container
string id = 8 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getVisibilityValue
public int getVisibilityValue()public or private
.viam.app.mltraining.v1.Visibility visibility = 9 [json_name = "visibility"];- Specified by:
getVisibilityValuein interfaceMlTraining.ContainerOrBuilder- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
public or private
.viam.app.mltraining.v1.Visibility visibility = 9 [json_name = "visibility"];- Parameters:
value- The visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
public or private
.viam.app.mltraining.v1.Visibility visibility = 9 [json_name = "visibility"];- Specified by:
getVisibilityin interfaceMlTraining.ContainerOrBuilder- Returns:
- The visibility.
-
setVisibility
public or private
.viam.app.mltraining.v1.Visibility visibility = 9 [json_name = "visibility"];- Parameters:
value- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
clearVisibility
public or private
.viam.app.mltraining.v1.Visibility visibility = 9 [json_name = "visibility"];- Returns:
- This builder for chaining.
-