Package viam.app.data.v1
Class Data.BinaryData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.BinaryData,Data.BinaryData.Builder>
viam.app.data.v1.Data.BinaryData.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.BinaryDataOrBuilder
- Enclosing class:
- Data.BinaryData
public static final class Data.BinaryData.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.BinaryData,Data.BinaryData.Builder>
implements Data.BinaryDataOrBuilder
BinaryData contains data and metadata associated with binary data.Protobuf type
viam.app.data.v1.BinaryData
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionbytes binary = 1 [json_name = "binary"];
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
com.google.protobuf.ByteString
bytes binary = 1 [json_name = "binary"];
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
boolean
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
mergeMetadata
(Data.BinaryMetadata value) .viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
setBinary
(com.google.protobuf.ByteString value) bytes binary = 1 [json_name = "binary"];
setMetadata
(Data.BinaryMetadata value) .viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
setMetadata
(Data.BinaryMetadata.Builder builderForValue) .viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
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
-
getBinary
public com.google.protobuf.ByteString getBinary()bytes binary = 1 [json_name = "binary"];
- Specified by:
getBinary
in interfaceData.BinaryDataOrBuilder
- Returns:
- The binary.
-
setBinary
bytes binary = 1 [json_name = "binary"];
- Parameters:
value
- The binary to set.- Returns:
- This builder for chaining.
-
clearBinary
bytes binary = 1 [json_name = "binary"];
- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata().viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceData.BinaryDataOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceData.BinaryDataOrBuilder
- Returns:
- The metadata.
-
setMetadata
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
-
setMetadata
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
-
mergeMetadata
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
-
clearMetadata
.viam.app.data.v1.BinaryMetadata metadata = 2 [json_name = "metadata"];
-