Package viam.app.v1
Interface App.FragmentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
App.Fragment
,App.Fragment.Builder
- Enclosing class:
- App
public static interface App.FragmentOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.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\""];
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 updatedMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
String getId()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
- Returns:
- The bytes for id.
-
getName
String getName()string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
- Returns:
- The bytes for name.
-
hasFragment
boolean hasFragment().google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
- Returns:
- Whether the fragment field is set.
-
getFragment
com.google.protobuf.Struct getFragment().google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
- Returns:
- The fragment.
-
getOrganizationOwner
String getOrganizationOwner()string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];
- Returns:
- The organizationOwner.
-
getOrganizationOwnerBytes
com.google.protobuf.ByteString getOrganizationOwnerBytes()string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];
- Returns:
- The bytes for organizationOwner.
-
getPublic
boolean getPublic()bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];
- Returns:
- The public.
-
hasCreatedOn
boolean hasCreatedOn().google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
com.google.protobuf.Timestamp getCreatedOn().google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
- Returns:
- The createdOn.
-
getOrganizationName
String getOrganizationName()string organization_name = 7 [json_name = "organizationName"];
- Returns:
- The organizationName.
-
getOrganizationNameBytes
com.google.protobuf.ByteString getOrganizationNameBytes()string organization_name = 7 [json_name = "organizationName"];
- Returns:
- The bytes for organizationName.
-
getRobotPartCount
int getRobotPartCount()number of robot parts using this fragment
int32 robot_part_count = 9 [json_name = "robotPartCount"];
- Returns:
- The robotPartCount.
-
getOrganizationCount
int getOrganizationCount()number of organizations using this fragment
int32 organization_count = 10 [json_name = "organizationCount"];
- Returns:
- The organizationCount.
-
getOnlyUsedByOwner
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"];
- Returns:
- The onlyUsedByOwner.
-
getVisibilityValue
int getVisibilityValue()the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];
- Returns:
- The enum numeric value on the wire for visibility.
-
getVisibility
App.FragmentVisibility getVisibility()the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];
- Returns:
- The visibility.
-
hasLastUpdated
boolean hasLastUpdated()latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""];
- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
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\""];
- Returns:
- The lastUpdated.
-