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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type viam.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

    Fields
    Modifier and Type
    Field
    Description
    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
     
    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 Type
    Method
    Description
    protected 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\""];
     
    com.google.protobuf.Struct
    .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
    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 updated
    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 org
    int
    number of organizations using this fragment
    string 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 fragment
    the visibility of a fragment; public, private or unlisted
    int
    the visibility of a fragment; public, private or unlisted
    boolean
    .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 updated
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<App.Fragment>
     

    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

      public String getId()
      string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
      Specified by:
      getId in interface App.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 interface App.FragmentOrBuilder
      Returns:
      The bytes for id.
    • getName

      public String getName()
      string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
      Specified by:
      getName in interface App.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 interface App.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 interface App.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 interface App.FragmentOrBuilder
      Returns:
      The fragment.
    • getOrganizationOwner

      public String getOrganizationOwner()
      string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];
      Specified by:
      getOrganizationOwner in interface App.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 interface App.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 interface App.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 interface App.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 interface App.FragmentOrBuilder
      Returns:
      The createdOn.
    • getOrganizationName

      public String getOrganizationName()
      string organization_name = 7 [json_name = "organizationName"];
      Specified by:
      getOrganizationName in interface App.FragmentOrBuilder
      Returns:
      The organizationName.
    • getOrganizationNameBytes

      public com.google.protobuf.ByteString getOrganizationNameBytes()
      string organization_name = 7 [json_name = "organizationName"];
      Specified by:
      getOrganizationNameBytes in interface App.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 interface App.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 interface App.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 interface App.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 interface App.FragmentOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • getVisibility

      public App.FragmentVisibility getVisibility()
       the visibility of a fragment; public, private or unlisted
       
      .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];
      Specified by:
      getVisibility in interface App.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 interface App.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 interface App.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

      public static App.Fragment parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.Fragment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static App.Fragment parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static App.Fragment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.Fragment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.Fragment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static App.Fragment.Builder newBuilder()
    • newBuilder

      public static App.Fragment.Builder newBuilder(App.Fragment prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<App.Fragment,App.Fragment.Builder>
    • getDefaultInstance

      public static App.Fragment getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<App.Fragment> parser()