Package com.viam.common.v1
Class Common.ResourceName.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.ResourceName,Common.ResourceName.Builder>
com.viam.common.v1.Common.ResourceName.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.ResourceNameOrBuilder
,Cloneable
- Enclosing class:
- Common.ResourceName
public static final class Common.ResourceName.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.ResourceName,Common.ResourceName.Builder>
implements Common.ResourceNameOrBuilder
Protobuf type
viam.common.v1.ResourceName
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRemotePath
(Iterable<String> values) repeated string remote_path = 5 [json_name = "remotePath"];
addRemotePath
(String value) repeated string remote_path = 5 [json_name = "remotePath"];
addRemotePathBytes
(com.google.protobuf.ByteString value) repeated string remote_path = 5 [json_name = "remotePath"];
string local_name = 6 [json_name = "localName"];
string name = 4 [json_name = "name"];
string namespace = 1 [json_name = "namespace"];
repeated string remote_path = 5 [json_name = "remotePath"];
string subtype = 3 [json_name = "subtype"];
string type = 2 [json_name = "type"];
string local_name = 6 [json_name = "localName"];
com.google.protobuf.ByteString
string local_name = 6 [json_name = "localName"];
getName()
string name = 4 [json_name = "name"];
com.google.protobuf.ByteString
string name = 4 [json_name = "name"];
string namespace = 1 [json_name = "namespace"];
com.google.protobuf.ByteString
string namespace = 1 [json_name = "namespace"];
getRemotePath
(int index) repeated string remote_path = 5 [json_name = "remotePath"];
com.google.protobuf.ByteString
getRemotePathBytes
(int index) repeated string remote_path = 5 [json_name = "remotePath"];
int
repeated string remote_path = 5 [json_name = "remotePath"];
repeated string remote_path = 5 [json_name = "remotePath"];
string subtype = 3 [json_name = "subtype"];
com.google.protobuf.ByteString
string subtype = 3 [json_name = "subtype"];
getType()
string type = 2 [json_name = "type"];
com.google.protobuf.ByteString
string type = 2 [json_name = "type"];
setLocalName
(String value) string local_name = 6 [json_name = "localName"];
setLocalNameBytes
(com.google.protobuf.ByteString value) string local_name = 6 [json_name = "localName"];
string name = 4 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 4 [json_name = "name"];
setNamespace
(String value) string namespace = 1 [json_name = "namespace"];
setNamespaceBytes
(com.google.protobuf.ByteString value) string namespace = 1 [json_name = "namespace"];
setRemotePath
(int index, String value) repeated string remote_path = 5 [json_name = "remotePath"];
setSubtype
(String value) string subtype = 3 [json_name = "subtype"];
setSubtypeBytes
(com.google.protobuf.ByteString value) string subtype = 3 [json_name = "subtype"];
string type = 2 [json_name = "type"];
setTypeBytes
(com.google.protobuf.ByteString value) string type = 2 [json_name = "type"];
Methods 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
-
getNamespace
string namespace = 1 [json_name = "namespace"];
- Specified by:
getNamespace
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1 [json_name = "namespace"];
- Specified by:
getNamespaceBytes
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
string namespace = 1 [json_name = "namespace"];
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
string namespace = 1 [json_name = "namespace"];
- Returns:
- This builder for chaining.
-
setNamespaceBytes
string namespace = 1 [json_name = "namespace"];
- Parameters:
value
- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getType
string type = 2 [json_name = "type"];
- Specified by:
getType
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()string type = 2 [json_name = "type"];
- Specified by:
getTypeBytes
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The bytes for type.
-
setType
string type = 2 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
string type = 2 [json_name = "type"];
- Returns:
- This builder for chaining.
-
setTypeBytes
string type = 2 [json_name = "type"];
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getSubtype
string subtype = 3 [json_name = "subtype"];
- Specified by:
getSubtype
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The subtype.
-
getSubtypeBytes
public com.google.protobuf.ByteString getSubtypeBytes()string subtype = 3 [json_name = "subtype"];
- Specified by:
getSubtypeBytes
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The bytes for subtype.
-
setSubtype
string subtype = 3 [json_name = "subtype"];
- Parameters:
value
- The subtype to set.- Returns:
- This builder for chaining.
-
clearSubtype
string subtype = 3 [json_name = "subtype"];
- Returns:
- This builder for chaining.
-
setSubtypeBytes
string subtype = 3 [json_name = "subtype"];
- Parameters:
value
- The bytes for subtype to set.- Returns:
- This builder for chaining.
-
getName
string name = 4 [json_name = "name"];
- Specified by:
getName
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 4 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 4 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 4 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 4 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRemotePathList
repeated string remote_path = 5 [json_name = "remotePath"];
- Specified by:
getRemotePathList
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- A list containing the remotePath.
-
getRemotePathCount
public int getRemotePathCount()repeated string remote_path = 5 [json_name = "remotePath"];
- Specified by:
getRemotePathCount
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The count of remotePath.
-
getRemotePath
repeated string remote_path = 5 [json_name = "remotePath"];
- Specified by:
getRemotePath
in interfaceCommon.ResourceNameOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The remotePath at the given index.
-
getRemotePathBytes
public com.google.protobuf.ByteString getRemotePathBytes(int index) repeated string remote_path = 5 [json_name = "remotePath"];
- Specified by:
getRemotePathBytes
in interfaceCommon.ResourceNameOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the remotePath at the given index.
-
setRemotePath
repeated string remote_path = 5 [json_name = "remotePath"];
- Parameters:
index
- The index to set the value at.value
- The remotePath to set.- Returns:
- This builder for chaining.
-
addRemotePath
repeated string remote_path = 5 [json_name = "remotePath"];
- Parameters:
value
- The remotePath to add.- Returns:
- This builder for chaining.
-
addAllRemotePath
repeated string remote_path = 5 [json_name = "remotePath"];
- Parameters:
values
- The remotePath to add.- Returns:
- This builder for chaining.
-
clearRemotePath
repeated string remote_path = 5 [json_name = "remotePath"];
- Returns:
- This builder for chaining.
-
addRemotePathBytes
repeated string remote_path = 5 [json_name = "remotePath"];
- Parameters:
value
- The bytes of the remotePath to add.- Returns:
- This builder for chaining.
-
getLocalName
string local_name = 6 [json_name = "localName"];
- Specified by:
getLocalName
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The localName.
-
getLocalNameBytes
public com.google.protobuf.ByteString getLocalNameBytes()string local_name = 6 [json_name = "localName"];
- Specified by:
getLocalNameBytes
in interfaceCommon.ResourceNameOrBuilder
- Returns:
- The bytes for localName.
-
setLocalName
string local_name = 6 [json_name = "localName"];
- Parameters:
value
- The localName to set.- Returns:
- This builder for chaining.
-
clearLocalName
string local_name = 6 [json_name = "localName"];
- Returns:
- This builder for chaining.
-
setLocalNameBytes
string local_name = 6 [json_name = "localName"];
- Parameters:
value
- The bytes for localName to set.- Returns:
- This builder for chaining.
-