Package viam.app.v1
Class AppOuterClass.Fragment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Fragment,AppOuterClass.Fragment.Builder>
viam.app.v1.AppOuterClass.Fragment.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.FragmentOrBuilder
- Enclosing class:
- AppOuterClass.Fragment
public static final class AppOuterClass.Fragment.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Fragment,AppOuterClass.Fragment.Builder>
implements AppOuterClass.FragmentOrBuilder
Protobuf type
viam.app.v1.Fragment-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];.google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];clearId()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];latest timestamp when fragment was updatedstring name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];whether the organization(s) using this fragment is the same as the fragment orgnumber of organizations using this fragmentstring organization_name = 7 [json_name = "organizationName"];string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];string revision = 14 [json_name = "revision"];number of robot parts using this fragmentthe visibility of a fragment; public, private or unlistedcom.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.ByteStringstring id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];com.google.protobuf.Timestamplatest timestamp when fragment was updatedgetName()string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];com.google.protobuf.ByteStringstring name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];booleanwhether the organization(s) using this fragment is the same as the fragment orgintnumber of organizations using this fragmentstring organization_name = 7 [json_name = "organizationName"];com.google.protobuf.ByteStringstring organization_name = 7 [json_name = "organizationName"];string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];com.google.protobuf.ByteStringstring organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];booleanbool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];string revision = 14 [json_name = "revision"];com.google.protobuf.ByteStringstring revision = 14 [json_name = "revision"];intnumber of robot parts using this fragmentthe visibility of a fragment; public, private or unlistedintthe 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\""];booleanlatest timestamp when fragment was updatedmergeCreatedOn(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];mergeFragment(com.google.protobuf.Struct value) .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];mergeLastUpdated(com.google.protobuf.Timestamp value) latest timestamp when fragment was updatedsetCreatedOn(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];setFragment(com.google.protobuf.Struct value) .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];setFragment(com.google.protobuf.Struct.Builder builderForValue) .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\""];setIdBytes(com.google.protobuf.ByteString value) string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];setLastUpdated(com.google.protobuf.Timestamp value) latest timestamp when fragment was updatedsetLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) latest timestamp when fragment was updatedstring name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];setNameBytes(com.google.protobuf.ByteString value) string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];setOnlyUsedByOwner(boolean value) whether the organization(s) using this fragment is the same as the fragment orgsetOrganizationCount(int value) number of organizations using this fragmentsetOrganizationName(String value) string organization_name = 7 [json_name = "organizationName"];setOrganizationNameBytes(com.google.protobuf.ByteString value) string organization_name = 7 [json_name = "organizationName"];setOrganizationOwner(String value) string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];setOrganizationOwnerBytes(com.google.protobuf.ByteString value) string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];setPublic(boolean value) bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];setRevision(String value) string revision = 14 [json_name = "revision"];setRevisionBytes(com.google.protobuf.ByteString value) string revision = 14 [json_name = "revision"];setRobotPartCount(int value) number of robot parts using this fragmentthe visibility of a fragment; public, private or unlistedsetVisibilityValue(int value) the visibility of a fragment; public, private or unlistedMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Specified by:
getIdin interfaceAppOuterClass.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:
getIdBytesin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Specified by:
getNamein interfaceAppOuterClass.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:
getNameBytesin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Returns:
- This builder for chaining.
-
setNameBytes
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasFragment
public boolean hasFragment().google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];- Specified by:
hasFragmentin interfaceAppOuterClass.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:
getFragmentin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The fragment.
-
setFragment
.google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; -
setFragment
public AppOuterClass.Fragment.Builder setFragment(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; -
mergeFragment
.google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; -
clearFragment
.google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; -
getOrganizationOwner
string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];- Specified by:
getOrganizationOwnerin interfaceAppOuterClass.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:
getOrganizationOwnerBytesin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The bytes for organizationOwner.
-
setOrganizationOwner
string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];- Parameters:
value- The organizationOwner to set.- Returns:
- This builder for chaining.
-
clearOrganizationOwner
string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];- Returns:
- This builder for chaining.
-
setOrganizationOwnerBytes
public AppOuterClass.Fragment.Builder setOrganizationOwnerBytes(com.google.protobuf.ByteString value) string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];- Parameters:
value- The bytes for organizationOwner to set.- Returns:
- This builder for chaining.
-
getPublic
public boolean getPublic()bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];- Specified by:
getPublicin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The public.
-
setPublic
bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];- Parameters:
value- The public to set.- Returns:
- This builder for chaining.
-
clearPublic
bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""];- Returns:
- This builder for chaining.
-
hasCreatedOn
public boolean hasCreatedOn().google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];- Specified by:
hasCreatedOnin interfaceAppOuterClass.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:
getCreatedOnin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The createdOn.
-
setCreatedOn
.google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
setCreatedOn
public AppOuterClass.Fragment.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
mergeCreatedOn
.google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
clearCreatedOn
.google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
getOrganizationName
string organization_name = 7 [json_name = "organizationName"];- Specified by:
getOrganizationNamein interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The organizationName.
-
getOrganizationNameBytes
public com.google.protobuf.ByteString getOrganizationNameBytes()string organization_name = 7 [json_name = "organizationName"];- Specified by:
getOrganizationNameBytesin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The bytes for organizationName.
-
setOrganizationName
string organization_name = 7 [json_name = "organizationName"];- Parameters:
value- The organizationName to set.- Returns:
- This builder for chaining.
-
clearOrganizationName
string organization_name = 7 [json_name = "organizationName"];- Returns:
- This builder for chaining.
-
setOrganizationNameBytes
public AppOuterClass.Fragment.Builder setOrganizationNameBytes(com.google.protobuf.ByteString value) string organization_name = 7 [json_name = "organizationName"];- Parameters:
value- The bytes for organizationName to set.- Returns:
- This builder for chaining.
-
getRobotPartCount
public int getRobotPartCount()number of robot parts using this fragment
int32 robot_part_count = 9 [json_name = "robotPartCount"];- Specified by:
getRobotPartCountin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The robotPartCount.
-
setRobotPartCount
number of robot parts using this fragment
int32 robot_part_count = 9 [json_name = "robotPartCount"];- Parameters:
value- The robotPartCount to set.- Returns:
- This builder for chaining.
-
clearRobotPartCount
number of robot parts using this fragment
int32 robot_part_count = 9 [json_name = "robotPartCount"];- Returns:
- This builder for chaining.
-
getOrganizationCount
public int getOrganizationCount()number of organizations using this fragment
int32 organization_count = 10 [json_name = "organizationCount"];- Specified by:
getOrganizationCountin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The organizationCount.
-
setOrganizationCount
number of organizations using this fragment
int32 organization_count = 10 [json_name = "organizationCount"];- Parameters:
value- The organizationCount to set.- Returns:
- This builder for chaining.
-
clearOrganizationCount
number of organizations using this fragment
int32 organization_count = 10 [json_name = "organizationCount"];- Returns:
- This builder for chaining.
-
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:
getOnlyUsedByOwnerin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The onlyUsedByOwner.
-
setOnlyUsedByOwner
whether the organization(s) using this fragment is the same as the fragment org
bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"];- Parameters:
value- The onlyUsedByOwner to set.- Returns:
- This builder for chaining.
-
clearOnlyUsedByOwner
whether the organization(s) using this fragment is the same as the fragment org
bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"];- Returns:
- This builder for chaining.
-
getVisibilityValue
public int getVisibilityValue()the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];- Specified by:
getVisibilityValuein interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];- Parameters:
value- The visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];- Specified by:
getVisibilityin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The visibility.
-
setVisibility
the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];- Parameters:
value- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
the visibility of a fragment; public, private or unlisted
.viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"];- Returns:
- This builder for chaining.
-
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:
hasLastUpdatedin interfaceAppOuterClass.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:
getLastUpdatedin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The lastUpdated.
-
setLastUpdated
latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; -
setLastUpdated
public AppOuterClass.Fragment.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; -
mergeLastUpdated
latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; -
clearLastUpdated
latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; -
getRevision
string revision = 14 [json_name = "revision"];- Specified by:
getRevisionin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The revision.
-
getRevisionBytes
public com.google.protobuf.ByteString getRevisionBytes()string revision = 14 [json_name = "revision"];- Specified by:
getRevisionBytesin interfaceAppOuterClass.FragmentOrBuilder- Returns:
- The bytes for revision.
-
setRevision
string revision = 14 [json_name = "revision"];- Parameters:
value- The revision to set.- Returns:
- This builder for chaining.
-
clearRevision
string revision = 14 [json_name = "revision"];- Returns:
- This builder for chaining.
-
setRevisionBytes
string revision = 14 [json_name = "revision"];- Parameters:
value- The bytes for revision to set.- Returns:
- This builder for chaining.
-