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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFragmentIds
(Iterable<String> values) Optional: fragment IDs to filter machines in the pickeraddFragmentIds
(String value) Optional: fragment IDs to filter machines in the pickeraddFragmentIdsBytes
(com.google.protobuf.ByteString value) Optional: fragment IDs to filter machines in the pickerOptional: structured customizations for the app (e.g., machine picker headings)The entrypoint of the applicationOptional: fragment IDs to filter machines in the pickerOptional: path to a custom logo for brandingThe name of the applicationThe type of the applicationOptional: structured customizations for the app (e.g., machine picker headings)The entrypoint of the applicationcom.google.protobuf.ByteString
The entrypoint of the applicationgetFragmentIds
(int index) Optional: fragment IDs to filter machines in the pickercom.google.protobuf.ByteString
getFragmentIdsBytes
(int index) Optional: fragment IDs to filter machines in the pickerint
Optional: fragment IDs to filter machines in the pickerOptional: fragment IDs to filter machines in the pickerOptional: path to a custom logo for brandingcom.google.protobuf.ByteString
Optional: path to a custom logo for brandinggetName()
The name of the applicationcom.google.protobuf.ByteString
The name of the applicationgetType()
The type of the applicationcom.google.protobuf.ByteString
The type of the applicationboolean
Optional: structured customizations for the app (e.g., machine picker headings)boolean
Optional: path to a custom logo for brandingOptional: structured customizations for the app (e.g., machine picker headings)Optional: structured customizations for the app (e.g., machine picker headings)setCustomizations
(AppOuterClass.AppCustomizations.Builder builderForValue) Optional: structured customizations for the app (e.g., machine picker headings)setEntrypoint
(String value) The entrypoint of the applicationsetEntrypointBytes
(com.google.protobuf.ByteString value) The entrypoint of the applicationsetFragmentIds
(int index, String value) Optional: fragment IDs to filter machines in the pickersetLogoPath
(String value) Optional: path to a custom logo for brandingsetLogoPathBytes
(com.google.protobuf.ByteString value) Optional: path to a custom logo for brandingThe name of the applicationsetNameBytes
(com.google.protobuf.ByteString value) The name of the applicationThe type of the applicationsetTypeBytes
(com.google.protobuf.ByteString value) The type of the applicationMethods 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
-
getName
The name of the application
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceAppOuterClass.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 interfaceAppOuterClass.AppOrBuilder
- Returns:
- The bytes for name.
-
setName
The name of the application
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the application
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
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
The type of the application
string type = 2 [json_name = "type"];
- Specified by:
getType
in interfaceAppOuterClass.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 interfaceAppOuterClass.AppOrBuilder
- Returns:
- The bytes for type.
-
setType
The type of the application
string type = 2 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of the application
string type = 2 [json_name = "type"];
- Returns:
- This builder for chaining.
-
setTypeBytes
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
The entrypoint of the application
string entrypoint = 3 [json_name = "entrypoint"];
- Specified by:
getEntrypoint
in interfaceAppOuterClass.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 interfaceAppOuterClass.AppOrBuilder
- Returns:
- The bytes for entrypoint.
-
setEntrypoint
The entrypoint of the application
string entrypoint = 3 [json_name = "entrypoint"];
- Parameters:
value
- The entrypoint to set.- Returns:
- This builder for chaining.
-
clearEntrypoint
The entrypoint of the application
string entrypoint = 3 [json_name = "entrypoint"];
- Returns:
- This builder for chaining.
-
setEntrypointBytes
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
Optional: fragment IDs to filter machines in the picker
repeated string fragment_ids = 4 [json_name = "fragmentIds"];
- Specified by:
getFragmentIdsList
in interfaceAppOuterClass.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 interfaceAppOuterClass.AppOrBuilder
- Returns:
- The count of fragmentIds.
-
getFragmentIds
Optional: fragment IDs to filter machines in the picker
repeated string fragment_ids = 4 [json_name = "fragmentIds"];
- Specified by:
getFragmentIds
in interfaceAppOuterClass.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 interfaceAppOuterClass.AppOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the fragmentIds at the given index.
-
setFragmentIds
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
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
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
Optional: fragment IDs to filter machines in the picker
repeated string fragment_ids = 4 [json_name = "fragmentIds"];
- Returns:
- This builder for chaining.
-
addFragmentIdsBytes
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 interfaceAppOuterClass.AppOrBuilder
- Returns:
- Whether the logoPath field is set.
-
getLogoPath
Optional: path to a custom logo for branding
optional string logo_path = 5 [json_name = "logoPath"];
- Specified by:
getLogoPath
in interfaceAppOuterClass.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 interfaceAppOuterClass.AppOrBuilder
- Returns:
- The bytes for logoPath.
-
setLogoPath
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
Optional: path to a custom logo for branding
optional string logo_path = 5 [json_name = "logoPath"];
- Returns:
- This builder for chaining.
-
setLogoPathBytes
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 interfaceAppOuterClass.AppOrBuilder
- Returns:
- Whether the customizations field is set.
-
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 interfaceAppOuterClass.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
Optional: structured customizations for the app (e.g., machine picker headings)
.viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];
-
clearCustomizations
Optional: structured customizations for the app (e.g., machine picker headings)
.viam.app.v1.AppCustomizations customizations = 6 [json_name = "customizations"];
-