Package viam.app.v1
Class App.Fragment
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<App.Fragment,App.Fragment.Builder>
viam.app.v1.App.Fragment
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,App.FragmentOrBuilder
- Enclosing class:
- App
public static final class App.Fragment
extends com.google.protobuf.GeneratedMessageLite<App.Fragment,App.Fragment.Builder>
implements App.FragmentOrBuilder
Protobuf type
viam.app.v1.Fragment
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.Fragment
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
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) com.google.protobuf.Timestamp
.google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
static App.Fragment
com.google.protobuf.Struct
.google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
getId()
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
com.google.protobuf.ByteString
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
com.google.protobuf.Timestamp
latest timestamp when fragment was updatedgetName()
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
com.google.protobuf.ByteString
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
boolean
whether the organization(s) using this fragment is the same as the fragment orgint
number of organizations using this fragmentstring organization_name = 7 [json_name = "organizationName"];
com.google.protobuf.ByteString
string organization_name = 7 [json_name = "organizationName"];
string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];
com.google.protobuf.ByteString
string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];
boolean
bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];
int
number of robot parts using this fragmentthe visibility of a fragment; public, private or unlistedint
the visibility of a fragment; public, private or unlistedboolean
.google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
boolean
.google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
boolean
latest timestamp when fragment was updatedstatic App.Fragment.Builder
static App.Fragment.Builder
newBuilder
(App.Fragment prototype) static App.Fragment
parseDelimitedFrom
(InputStream input) static App.Fragment
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Fragment
parseFrom
(byte[] data) static App.Fragment
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Fragment
parseFrom
(com.google.protobuf.ByteString data) static App.Fragment
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Fragment
parseFrom
(com.google.protobuf.CodedInputStream input) static App.Fragment
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Fragment
parseFrom
(InputStream input) static App.Fragment
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.Fragment
parseFrom
(ByteBuffer data) static App.Fragment
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<App.Fragment>
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:
-
FRAGMENT_FIELD_NUMBER
public static final int FRAGMENT_FIELD_NUMBER- See Also:
-
ORGANIZATION_OWNER_FIELD_NUMBER
public static final int ORGANIZATION_OWNER_FIELD_NUMBER- See Also:
-
PUBLIC_FIELD_NUMBER
public static final int PUBLIC_FIELD_NUMBER- See Also:
-
CREATED_ON_FIELD_NUMBER
public static final int CREATED_ON_FIELD_NUMBER- See Also:
-
ORGANIZATION_NAME_FIELD_NUMBER
public static final int ORGANIZATION_NAME_FIELD_NUMBER- See Also:
-
ROBOT_PART_COUNT_FIELD_NUMBER
public static final int ROBOT_PART_COUNT_FIELD_NUMBER- See Also:
-
ORGANIZATION_COUNT_FIELD_NUMBER
public static final int ORGANIZATION_COUNT_FIELD_NUMBER- See Also:
-
ONLY_USED_BY_OWNER_FIELD_NUMBER
public static final int ONLY_USED_BY_OWNER_FIELD_NUMBER- See Also:
-
VISIBILITY_FIELD_NUMBER
public static final int VISIBILITY_FIELD_NUMBER- See Also:
-
LAST_UPDATED_FIELD_NUMBER
public static final int LAST_UPDATED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
- Specified by:
getId
in interfaceApp.FragmentOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
- Specified by:
getIdBytes
in interfaceApp.FragmentOrBuilder
- Returns:
- The bytes for id.
-
getName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
- Specified by:
getName
in interfaceApp.FragmentOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
- Specified by:
getNameBytes
in interfaceApp.FragmentOrBuilder
- Returns:
- The bytes for name.
-
hasFragment
public boolean hasFragment().google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
- Specified by:
hasFragment
in interfaceApp.FragmentOrBuilder
- Returns:
- Whether the fragment field is set.
-
getFragment
public com.google.protobuf.Struct getFragment().google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
- Specified by:
getFragment
in interfaceApp.FragmentOrBuilder
- Returns:
- The fragment.
-
getOrganizationOwner
string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];
- Specified by:
getOrganizationOwner
in interfaceApp.FragmentOrBuilder
- Returns:
- The organizationOwner.
-
getOrganizationOwnerBytes
public com.google.protobuf.ByteString getOrganizationOwnerBytes()string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];
- Specified by:
getOrganizationOwnerBytes
in interfaceApp.FragmentOrBuilder
- Returns:
- The bytes for organizationOwner.
-
getPublic
public boolean getPublic()bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];
- Specified by:
getPublic
in interfaceApp.FragmentOrBuilder
- Returns:
- The public.
-
hasCreatedOn
public boolean hasCreatedOn().google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
- Specified by:
hasCreatedOn
in interfaceApp.FragmentOrBuilder
- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn().google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
- Specified by:
getCreatedOn
in interfaceApp.FragmentOrBuilder
- Returns:
- The createdOn.
-
getOrganizationName
string organization_name = 7 [json_name = "organizationName"];
- Specified by:
getOrganizationName
in interfaceApp.FragmentOrBuilder
- Returns:
- The organizationName.
-
getOrganizationNameBytes
public com.google.protobuf.ByteString getOrganizationNameBytes()string organization_name = 7 [json_name = "organizationName"];
- Specified by:
getOrganizationNameBytes
in interfaceApp.FragmentOrBuilder
- Returns:
- The bytes for organizationName.
-
getRobotPartCount
public int getRobotPartCount()number of robot parts using this fragment
int32 robot_part_count = 9 [json_name = "robotPartCount"];
- Specified by:
getRobotPartCount
in interfaceApp.FragmentOrBuilder
- Returns:
- The robotPartCount.
-
getOrganizationCount
public int getOrganizationCount()number of organizations using this fragment
int32 organization_count = 10 [json_name = "organizationCount"];
- Specified by:
getOrganizationCount
in interfaceApp.FragmentOrBuilder
- Returns:
- The organizationCount.
-
getOnlyUsedByOwner
public boolean getOnlyUsedByOwner()whether the organization(s) using this fragment is the same as the fragment org
bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"];
- Specified by:
getOnlyUsedByOwner
in interfaceApp.FragmentOrBuilder
- Returns:
- The onlyUsedByOwner.
-
getVisibilityValue
public int getVisibilityValue()the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];
- Specified by:
getVisibilityValue
in interfaceApp.FragmentOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
getVisibility
the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];
- Specified by:
getVisibility
in interfaceApp.FragmentOrBuilder
- Returns:
- The visibility.
-
hasLastUpdated
public boolean hasLastUpdated()latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""];
- Specified by:
hasLastUpdated
in interfaceApp.FragmentOrBuilder
- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""];
- Specified by:
getLastUpdated
in interfaceApp.FragmentOrBuilder
- Returns:
- The lastUpdated.
-
parseFrom
public static App.Fragment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Fragment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Fragment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Fragment 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.Fragment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.Fragment 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.Fragment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static App.Fragment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static App.Fragment 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.Fragment,
App.Fragment.Builder>
-
getDefaultInstance
-
parser
-