Package viam.app.v1
Class App.Fragment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.Fragment,App.Fragment.Builder>
viam.app.v1.App.Fragment.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.FragmentOrBuilder
- Enclosing class:
- App.Fragment
public static final class App.Fragment.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.Fragment,App.Fragment.Builder>
implements App.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\""];
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.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 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\""];
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, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
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.
-
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:
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.
-
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:
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.
-
setFragment
.google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
-
setFragment
.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:
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.
-
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
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:
getPublic
in interfaceApp.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:
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.
-
setCreatedOn
.google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
-
setCreatedOn
.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:
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.
-
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
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:
getRobotPartCount
in interfaceApp.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:
getOrganizationCount
in interfaceApp.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:
getOnlyUsedByOwner
in interfaceApp.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:
getVisibilityValue
in interfaceApp.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:
getVisibility
in interfaceApp.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:
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.
-
setLastUpdated
latest timestamp when fragment was updated
.google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""];
-
setLastUpdated
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\""];
-