Package viam.app.v1

Class AppOuterClass.App.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.App,AppOuterClass.App.Builder>
viam.app.v1.AppOuterClass.App.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, AppOuterClass.AppOrBuilder
Enclosing class:
AppOuterClass.App

public static final class AppOuterClass.App.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.App,AppOuterClass.App.Builder> implements AppOuterClass.AppOrBuilder
Protobuf type viam.app.v1.App
  • Method Details

    • getName

      public String getName()
       The name of the application
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface AppOuterClass.AppOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the application
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface AppOuterClass.AppOrBuilder
      Returns:
      The bytes for name.
    • setName

      public AppOuterClass.App.Builder setName(String value)
       The name of the application
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public AppOuterClass.App.Builder clearName()
       The name of the application
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public AppOuterClass.App.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the application
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       The type of the application
       
      string type = 2 [json_name = "type"];
      Specified by:
      getType in interface AppOuterClass.AppOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of the application
       
      string type = 2 [json_name = "type"];
      Specified by:
      getTypeBytes in interface AppOuterClass.AppOrBuilder
      Returns:
      The bytes for type.
    • setType

      public AppOuterClass.App.Builder setType(String value)
       The type of the application
       
      string type = 2 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public AppOuterClass.App.Builder clearType()
       The type of the application
       
      string type = 2 [json_name = "type"];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public AppOuterClass.App.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The type of the application
       
      string type = 2 [json_name = "type"];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getEntrypoint

      public String getEntrypoint()
       The entrypoint of the application
       
      string entrypoint = 3 [json_name = "entrypoint"];
      Specified by:
      getEntrypoint in interface AppOuterClass.AppOrBuilder
      Returns:
      The entrypoint.
    • getEntrypointBytes

      public com.google.protobuf.ByteString getEntrypointBytes()
       The entrypoint of the application
       
      string entrypoint = 3 [json_name = "entrypoint"];
      Specified by:
      getEntrypointBytes in interface AppOuterClass.AppOrBuilder
      Returns:
      The bytes for entrypoint.
    • setEntrypoint

      public AppOuterClass.App.Builder setEntrypoint(String value)
       The entrypoint of the application
       
      string entrypoint = 3 [json_name = "entrypoint"];
      Parameters:
      value - The entrypoint to set.
      Returns:
      This builder for chaining.
    • clearEntrypoint

      public AppOuterClass.App.Builder clearEntrypoint()
       The entrypoint of the application
       
      string entrypoint = 3 [json_name = "entrypoint"];
      Returns:
      This builder for chaining.
    • setEntrypointBytes

      public AppOuterClass.App.Builder setEntrypointBytes(com.google.protobuf.ByteString value)
       The entrypoint of the application
       
      string entrypoint = 3 [json_name = "entrypoint"];
      Parameters:
      value - The bytes for entrypoint to set.
      Returns:
      This builder for chaining.
    • getFragmentIdsList

      public List<String> getFragmentIdsList()
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIdsList in interface AppOuterClass.AppOrBuilder
      Returns:
      A list containing the fragmentIds.
    • getFragmentIdsCount

      public int getFragmentIdsCount()
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIdsCount in interface AppOuterClass.AppOrBuilder
      Returns:
      The count of fragmentIds.
    • getFragmentIds

      public String getFragmentIds(int index)
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIds in interface AppOuterClass.AppOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fragmentIds at the given index.
    • getFragmentIdsBytes

      public com.google.protobuf.ByteString getFragmentIdsBytes(int index)
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIdsBytes in interface AppOuterClass.AppOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fragmentIds at the given index.
    • setFragmentIds

      public AppOuterClass.App.Builder setFragmentIds(int index, String value)
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Parameters:
      index - The index to set the value at.
      value - The fragmentIds to set.
      Returns:
      This builder for chaining.
    • addFragmentIds

      public AppOuterClass.App.Builder addFragmentIds(String value)
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Parameters:
      value - The fragmentIds to add.
      Returns:
      This builder for chaining.
    • addAllFragmentIds

      public AppOuterClass.App.Builder addAllFragmentIds(Iterable<String> values)
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Parameters:
      values - The fragmentIds to add.
      Returns:
      This builder for chaining.
    • clearFragmentIds

      public AppOuterClass.App.Builder clearFragmentIds()
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Returns:
      This builder for chaining.
    • addFragmentIdsBytes

      public AppOuterClass.App.Builder addFragmentIdsBytes(com.google.protobuf.ByteString value)
       Optional: fragment IDs to filter machines in the picker
       
      repeated string fragment_ids = 4 [json_name = "fragmentIds"];
      Parameters:
      value - The bytes of the fragmentIds to add.
      Returns:
      This builder for chaining.
    • hasLogoPath

      public boolean hasLogoPath()
       Optional: path to a custom logo for branding
       
      optional string logo_path = 5 [json_name = "logoPath"];
      Specified by:
      hasLogoPath in interface AppOuterClass.AppOrBuilder
      Returns:
      Whether the logoPath field is set.
    • getLogoPath

      public String getLogoPath()
       Optional: path to a custom logo for branding
       
      optional string logo_path = 5 [json_name = "logoPath"];
      Specified by:
      getLogoPath in interface AppOuterClass.AppOrBuilder
      Returns:
      The logoPath.
    • getLogoPathBytes

      public com.google.protobuf.ByteString getLogoPathBytes()
       Optional: path to a custom logo for branding
       
      optional string logo_path = 5 [json_name = "logoPath"];
      Specified by:
      getLogoPathBytes in interface AppOuterClass.AppOrBuilder
      Returns:
      The bytes for logoPath.
    • setLogoPath

      public AppOuterClass.App.Builder setLogoPath(String value)
       Optional: path to a custom logo for branding
       
      optional string logo_path = 5 [json_name = "logoPath"];
      Parameters:
      value - The logoPath to set.
      Returns:
      This builder for chaining.
    • clearLogoPath

      public AppOuterClass.App.Builder clearLogoPath()
       Optional: path to a custom logo for branding
       
      optional string logo_path = 5 [json_name = "logoPath"];
      Returns:
      This builder for chaining.
    • setLogoPathBytes

      public AppOuterClass.App.Builder setLogoPathBytes(com.google.protobuf.ByteString value)
       Optional: path to a custom logo for branding
       
      optional string logo_path = 5 [json_name = "logoPath"];
      Parameters:
      value - The bytes for logoPath to set.
      Returns:
      This builder for chaining.
    • hasCustomizations

      public boolean hasCustomizations()
       Optional: structured customizations for the app (e.g., machine picker headings)
       
      .viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];
      Specified by:
      hasCustomizations in interface AppOuterClass.AppOrBuilder
      Returns:
      Whether the customizations field is set.
    • getCustomizations

      public AppOuterClass.AppCustomizations getCustomizations()
       Optional: structured customizations for the app (e.g., machine picker headings)
       
      .viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];
      Specified by:
      getCustomizations in interface AppOuterClass.AppOrBuilder
      Returns:
      The customizations.
    • setCustomizations

       Optional: structured customizations for the app (e.g., machine picker headings)
       
      .viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];
    • setCustomizations

      public AppOuterClass.App.Builder setCustomizations(AppOuterClass.AppCustomizations.Builder builderForValue)
       Optional: structured customizations for the app (e.g., machine picker headings)
       
      .viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];
    • mergeCustomizations

      public AppOuterClass.App.Builder mergeCustomizations(AppOuterClass.AppCustomizations value)
       Optional: structured customizations for the app (e.g., machine picker headings)
       
      .viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];
    • clearCustomizations

      public AppOuterClass.App.Builder clearCustomizations()
       Optional: structured customizations for the app (e.g., machine picker headings)
       
      .viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];