Package tech.figure.objectstore.gateway
Class GatewayOuterClass.RegisterExistingObjectRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
tech.figure.objectstore.gateway.GatewayOuterClass.RegisterExistingObjectRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GatewayOuterClass.RegisterExistingObjectRequestOrBuilder
- Enclosing class:
- GatewayOuterClass.RegisterExistingObjectRequest
public static final class GatewayOuterClass.RegisterExistingObjectRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
implements GatewayOuterClass.RegisterExistingObjectRequestOrBuilder
Allows registering pre-existing object-store objects so that they may be fetched and managed in the same way as objects stored via the PutObject routeProtobuf type
tech.figure.objectstore.gateway.RegisterExistingObjectRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllGranteeAddress(Iterable<String> values) addresses that should have access to fetch this object via the FetchObjectByHash rpcaddGranteeAddress(String value) addresses that should have access to fetch this object via the FetchObjectByHash rpcaddGranteeAddressBytes(com.google.protobuf.ByteString value) addresses that should have access to fetch this object via the FetchObjectByHash rpcaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) addresses that should have access to fetch this object via the FetchObjectByHash rpcthe hash of the object in object store (the caller's access to this object will be verified during the course of this call)clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGranteeAddress(int index) addresses that should have access to fetch this object via the FetchObjectByHash rpccom.google.protobuf.ByteStringgetGranteeAddressBytes(int index) addresses that should have access to fetch this object via the FetchObjectByHash rpcintaddresses that should have access to fetch this object via the FetchObjectByHash rpccom.google.protobuf.ProtocolStringListaddresses that should have access to fetch this object via the FetchObjectByHash rpcgetHash()the hash of the object in object store (the caller's access to this object will be verified during the course of this call)com.google.protobuf.ByteStringthe hash of the object in object store (the caller's access to this object will be verified during the course of this call)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setGranteeAddress(int index, String value) addresses that should have access to fetch this object via the FetchObjectByHash rpcthe hash of the object in object store (the caller's access to this object will be verified during the course of this call)setHashBytes(com.google.protobuf.ByteString value) the hash of the object in object store (the caller's access to this object will be verified during the course of this call)setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
setField
public GatewayOuterClass.RegisterExistingObjectRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
clearField
public GatewayOuterClass.RegisterExistingObjectRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
clearOneof
public GatewayOuterClass.RegisterExistingObjectRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.RegisterExistingObjectRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.RegisterExistingObjectRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
mergeFrom
public GatewayOuterClass.RegisterExistingObjectRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
mergeFrom
public GatewayOuterClass.RegisterExistingObjectRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>- Throws:
IOException
-
getHash
the hash of the object in object store (the caller's access to this object will be verified during the course of this call)
string hash = 1;- Specified by:
getHashin interfaceGatewayOuterClass.RegisterExistingObjectRequestOrBuilder- Returns:
- The hash.
-
getHashBytes
public com.google.protobuf.ByteString getHashBytes()the hash of the object in object store (the caller's access to this object will be verified during the course of this call)
string hash = 1;- Specified by:
getHashBytesin interfaceGatewayOuterClass.RegisterExistingObjectRequestOrBuilder- Returns:
- The bytes for hash.
-
setHash
the hash of the object in object store (the caller's access to this object will be verified during the course of this call)
string hash = 1;- Parameters:
value- The hash to set.- Returns:
- This builder for chaining.
-
clearHash
the hash of the object in object store (the caller's access to this object will be verified during the course of this call)
string hash = 1;- Returns:
- This builder for chaining.
-
setHashBytes
public GatewayOuterClass.RegisterExistingObjectRequest.Builder setHashBytes(com.google.protobuf.ByteString value) the hash of the object in object store (the caller's access to this object will be verified during the course of this call)
string hash = 1;- Parameters:
value- The bytes for hash to set.- Returns:
- This builder for chaining.
-
getGranteeAddressList
public com.google.protobuf.ProtocolStringList getGranteeAddressList()addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Specified by:
getGranteeAddressListin interfaceGatewayOuterClass.RegisterExistingObjectRequestOrBuilder- Returns:
- A list containing the granteeAddress.
-
getGranteeAddressCount
public int getGranteeAddressCount()addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Specified by:
getGranteeAddressCountin interfaceGatewayOuterClass.RegisterExistingObjectRequestOrBuilder- Returns:
- The count of granteeAddress.
-
getGranteeAddress
addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Specified by:
getGranteeAddressin interfaceGatewayOuterClass.RegisterExistingObjectRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The granteeAddress at the given index.
-
getGranteeAddressBytes
public com.google.protobuf.ByteString getGranteeAddressBytes(int index) addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Specified by:
getGranteeAddressBytesin interfaceGatewayOuterClass.RegisterExistingObjectRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the granteeAddress at the given index.
-
setGranteeAddress
public GatewayOuterClass.RegisterExistingObjectRequest.Builder setGranteeAddress(int index, String value) addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Parameters:
index- The index to set the value at.value- The granteeAddress to set.- Returns:
- This builder for chaining.
-
addGranteeAddress
addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Parameters:
value- The granteeAddress to add.- Returns:
- This builder for chaining.
-
addAllGranteeAddress
public GatewayOuterClass.RegisterExistingObjectRequest.Builder addAllGranteeAddress(Iterable<String> values) addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Parameters:
values- The granteeAddress to add.- Returns:
- This builder for chaining.
-
clearGranteeAddress
addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Returns:
- This builder for chaining.
-
addGranteeAddressBytes
public GatewayOuterClass.RegisterExistingObjectRequest.Builder addGranteeAddressBytes(com.google.protobuf.ByteString value) addresses that should have access to fetch this object via the FetchObjectByHash rpc
repeated string grantee_address = 2;- Parameters:
value- The bytes of the granteeAddress to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.RegisterExistingObjectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.RegisterExistingObjectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.RegisterExistingObjectRequest.Builder>
-