Package viam.app.v1
Class App.Model.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.Model,App.Model.Builder>
viam.app.v1.App.Model.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.ModelOrBuilder
- Enclosing class:
- App.Model
public static final class App.Model.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.Model,App.Model.Builder>
implements App.ModelOrBuilder
Protobuf type
viam.app.v1.Model
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearApi()
The colon-delimited-triplet of the api implemented by the modelA short description of the model that explains its purposeThe markdown content describing the usage of the modelThe colon-delimited-triplet of the modelgetApi()
The colon-delimited-triplet of the api implemented by the modelcom.google.protobuf.ByteString
The colon-delimited-triplet of the api implemented by the modelA short description of the model that explains its purposecom.google.protobuf.ByteString
A short description of the model that explains its purposeThe markdown content describing the usage of the modelcom.google.protobuf.ByteString
The markdown content describing the usage of the modelgetModel()
The colon-delimited-triplet of the modelcom.google.protobuf.ByteString
The colon-delimited-triplet of the modelboolean
A short description of the model that explains its purposeboolean
The markdown content describing the usage of the modelThe colon-delimited-triplet of the api implemented by the modelsetApiBytes
(com.google.protobuf.ByteString value) The colon-delimited-triplet of the api implemented by the modelsetDescription
(String value) A short description of the model that explains its purposesetDescriptionBytes
(com.google.protobuf.ByteString value) A short description of the model that explains its purposesetMarkdownDocumentation
(String value) The markdown content describing the usage of the modelsetMarkdownDocumentationBytes
(com.google.protobuf.ByteString value) The markdown content describing the usage of the modelThe colon-delimited-triplet of the modelsetModelBytes
(com.google.protobuf.ByteString value) The colon-delimited-triplet of the modelMethods 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
-
getApi
The colon-delimited-triplet of the api implemented by the model
string api = 1 [json_name = "api"];
- Specified by:
getApi
in interfaceApp.ModelOrBuilder
- Returns:
- The api.
-
getApiBytes
public com.google.protobuf.ByteString getApiBytes()The colon-delimited-triplet of the api implemented by the model
string api = 1 [json_name = "api"];
- Specified by:
getApiBytes
in interfaceApp.ModelOrBuilder
- Returns:
- The bytes for api.
-
setApi
The colon-delimited-triplet of the api implemented by the model
string api = 1 [json_name = "api"];
- Parameters:
value
- The api to set.- Returns:
- This builder for chaining.
-
clearApi
The colon-delimited-triplet of the api implemented by the model
string api = 1 [json_name = "api"];
- Returns:
- This builder for chaining.
-
setApiBytes
The colon-delimited-triplet of the api implemented by the model
string api = 1 [json_name = "api"];
- Parameters:
value
- The bytes for api to set.- Returns:
- This builder for chaining.
-
getModel
The colon-delimited-triplet of the model
string model = 2 [json_name = "model"];
- Specified by:
getModel
in interfaceApp.ModelOrBuilder
- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()The colon-delimited-triplet of the model
string model = 2 [json_name = "model"];
- Specified by:
getModelBytes
in interfaceApp.ModelOrBuilder
- Returns:
- The bytes for model.
-
setModel
The colon-delimited-triplet of the model
string model = 2 [json_name = "model"];
- Parameters:
value
- The model to set.- Returns:
- This builder for chaining.
-
clearModel
The colon-delimited-triplet of the model
string model = 2 [json_name = "model"];
- Returns:
- This builder for chaining.
-
setModelBytes
The colon-delimited-triplet of the model
string model = 2 [json_name = "model"];
- Parameters:
value
- The bytes for model to set.- Returns:
- This builder for chaining.
-
hasMarkdownDocumentation
public boolean hasMarkdownDocumentation()The markdown content describing the usage of the model
optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
- Specified by:
hasMarkdownDocumentation
in interfaceApp.ModelOrBuilder
- Returns:
- Whether the markdownDocumentation field is set.
-
getMarkdownDocumentation
The markdown content describing the usage of the model
optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
- Specified by:
getMarkdownDocumentation
in interfaceApp.ModelOrBuilder
- Returns:
- The markdownDocumentation.
-
getMarkdownDocumentationBytes
public com.google.protobuf.ByteString getMarkdownDocumentationBytes()The markdown content describing the usage of the model
optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
- Specified by:
getMarkdownDocumentationBytes
in interfaceApp.ModelOrBuilder
- Returns:
- The bytes for markdownDocumentation.
-
setMarkdownDocumentation
The markdown content describing the usage of the model
optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
- Parameters:
value
- The markdownDocumentation to set.- Returns:
- This builder for chaining.
-
clearMarkdownDocumentation
The markdown content describing the usage of the model
optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
- Returns:
- This builder for chaining.
-
setMarkdownDocumentationBytes
The markdown content describing the usage of the model
optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
- Parameters:
value
- The bytes for markdownDocumentation to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()A short description of the model that explains its purpose
optional string description = 4 [json_name = "description"];
- Specified by:
hasDescription
in interfaceApp.ModelOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
A short description of the model that explains its purpose
optional string description = 4 [json_name = "description"];
- Specified by:
getDescription
in interfaceApp.ModelOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A short description of the model that explains its purpose
optional string description = 4 [json_name = "description"];
- Specified by:
getDescriptionBytes
in interfaceApp.ModelOrBuilder
- Returns:
- The bytes for description.
-
setDescription
A short description of the model that explains its purpose
optional string description = 4 [json_name = "description"];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A short description of the model that explains its purpose
optional string description = 4 [json_name = "description"];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
A short description of the model that explains its purpose
optional string description = 4 [json_name = "description"];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-