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
  • Method Details

    • getApi

      public String getApi()
       The colon-delimited-triplet of the api implemented by the model
       
      string api = 1 [json_name = "api"];
      Specified by:
      getApi in interface App.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 interface App.ModelOrBuilder
      Returns:
      The bytes for api.
    • setApi

      public App.Model.Builder setApi(String value)
       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

      public App.Model.Builder clearApi()
       The colon-delimited-triplet of the api implemented by the model
       
      string api = 1 [json_name = "api"];
      Returns:
      This builder for chaining.
    • setApiBytes

      public App.Model.Builder setApiBytes(com.google.protobuf.ByteString value)
       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

      public String getModel()
       The colon-delimited-triplet of the model
       
      string model = 2 [json_name = "model"];
      Specified by:
      getModel in interface App.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 interface App.ModelOrBuilder
      Returns:
      The bytes for model.
    • setModel

      public App.Model.Builder setModel(String value)
       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

      public App.Model.Builder clearModel()
       The colon-delimited-triplet of the model
       
      string model = 2 [json_name = "model"];
      Returns:
      This builder for chaining.
    • setModelBytes

      public App.Model.Builder setModelBytes(com.google.protobuf.ByteString value)
       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 interface App.ModelOrBuilder
      Returns:
      Whether the markdownDocumentation field is set.
    • getMarkdownDocumentation

      public String getMarkdownDocumentation()
       The markdown content describing the usage of the model
       
      optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
      Specified by:
      getMarkdownDocumentation in interface App.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 interface App.ModelOrBuilder
      Returns:
      The bytes for markdownDocumentation.
    • setMarkdownDocumentation

      public App.Model.Builder setMarkdownDocumentation(String value)
       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

      public App.Model.Builder clearMarkdownDocumentation()
       The markdown content describing the usage of the model
       
      optional string markdown_documentation = 3 [json_name = "markdownDocumentation"];
      Returns:
      This builder for chaining.
    • setMarkdownDocumentationBytes

      public App.Model.Builder setMarkdownDocumentationBytes(com.google.protobuf.ByteString value)
       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 interface App.ModelOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       A short description of the model that explains its purpose
       
      optional string description = 4 [json_name = "description"];
      Specified by:
      getDescription in interface App.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 interface App.ModelOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public App.Model.Builder setDescription(String value)
       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

      public App.Model.Builder clearDescription()
       A short description of the model that explains its purpose
       
      optional string description = 4 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public App.Model.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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.