Package viam.app.v1
Class App.Location
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<App.Location,App.Location.Builder>
viam.app.v1.App.Location
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,App.LocationOrBuilder
- Enclosing class:
- App
public static final class App.Location
extends com.google.protobuf.GeneratedMessageLite<App.Location,App.Location.Builder>
implements App.LocationOrBuilder
Protobuf type
viam.app.v1.Location
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.Location
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getAuth()
Location authentication secrets.Config for how data in this location is stored.com.google.protobuf.Timestamp
Location creation timestamp.static App.Location
getId()
Location ID.com.google.protobuf.ByteString
Location ID.getName()
Location name.com.google.protobuf.ByteString
Location name.getOrganizations
(int index) Organizations that the location is shared with.int
Organizations that the location is shared with.Organizations that the location is shared with.getOrganizationsOrBuilder
(int index) Organizations that the location is shared with.List<? extends App.LocationOrganizationOrBuilder>
Organizations that the location is shared with.Location ID of the parent location.com.google.protobuf.ByteString
Location ID of the parent location.int
boolean
hasAuth()
Location authentication secrets.boolean
Config for how data in this location is stored.boolean
Location creation timestamp.static App.Location.Builder
static App.Location.Builder
newBuilder
(App.Location prototype) static App.Location
parseDelimitedFrom
(InputStream input) static App.Location
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Location
parseFrom
(byte[] data) static App.Location
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Location
parseFrom
(com.google.protobuf.ByteString data) static App.Location
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Location
parseFrom
(com.google.protobuf.CodedInputStream input) static App.Location
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Location
parseFrom
(InputStream input) static App.Location
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Location
parseFrom
(ByteBuffer data) static App.Location
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<App.Location>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PARENT_LOCATION_ID_FIELD_NUMBER
public static final int PARENT_LOCATION_ID_FIELD_NUMBER- See Also:
-
AUTH_FIELD_NUMBER
public static final int AUTH_FIELD_NUMBER- See Also:
-
ORGANIZATIONS_FIELD_NUMBER
public static final int ORGANIZATIONS_FIELD_NUMBER- See Also:
-
CREATED_ON_FIELD_NUMBER
public static final int CREATED_ON_FIELD_NUMBER- See Also:
-
ROBOT_COUNT_FIELD_NUMBER
public static final int ROBOT_COUNT_FIELD_NUMBER- See Also:
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
Location ID.
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceApp.LocationOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Location ID.
string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceApp.LocationOrBuilder
- Returns:
- The bytes for id.
-
getName
Location name.
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceApp.LocationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Location name.
string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceApp.LocationOrBuilder
- Returns:
- The bytes for name.
-
getParentLocationId
Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Specified by:
getParentLocationId
in interfaceApp.LocationOrBuilder
- Returns:
- The parentLocationId.
-
getParentLocationIdBytes
public com.google.protobuf.ByteString getParentLocationIdBytes()Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Specified by:
getParentLocationIdBytes
in interfaceApp.LocationOrBuilder
- Returns:
- The bytes for parentLocationId.
-
hasAuth
public boolean hasAuth()Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
- Specified by:
hasAuth
in interfaceApp.LocationOrBuilder
- Returns:
- Whether the auth field is set.
-
getAuth
Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
- Specified by:
getAuth
in interfaceApp.LocationOrBuilder
- Returns:
- The auth.
-
getOrganizationsList
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
- Specified by:
getOrganizationsList
in interfaceApp.LocationOrBuilder
-
getOrganizationsOrBuilderList
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
getOrganizationsCount
public int getOrganizationsCount()Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
- Specified by:
getOrganizationsCount
in interfaceApp.LocationOrBuilder
-
getOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
- Specified by:
getOrganizations
in interfaceApp.LocationOrBuilder
-
getOrganizationsOrBuilder
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
hasCreatedOn
public boolean hasCreatedOn()Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Specified by:
hasCreatedOn
in interfaceApp.LocationOrBuilder
- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn()Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Specified by:
getCreatedOn
in interfaceApp.LocationOrBuilder
- Returns:
- The createdOn.
-
getRobotCount
public int getRobotCount()int32 robot_count = 7 [json_name = "robotCount"];
- Specified by:
getRobotCount
in interfaceApp.LocationOrBuilder
- Returns:
- The robotCount.
-
hasConfig
public boolean hasConfig()Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
- Specified by:
hasConfig
in interfaceApp.LocationOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
- Specified by:
getConfig
in interfaceApp.LocationOrBuilder
- Returns:
- The config.
-
parseFrom
public static App.Location parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Location parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Location parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Location parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Location parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static App.Location parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static App.Location parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static App.Location parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<App.Location,
App.Location.Builder>
-
getDefaultInstance
-
parser
-