Package tech.figure.objectstore.gateway
Class GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
tech.figure.objectstore.gateway.GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder
- Enclosing class:
- GatewayOuterClass.BatchGrantObjectPermissionsResponse
public static final class GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
implements GatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder
Protobuf type
tech.figure.objectstore.gateway.BatchGrantObjectPermissionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The grantee that received permissions to the object hashThe granter that granted permissions to the grantee on an object hashThe grant's place in the batch order.The hash of the object to which permissions were grantedclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The total number of grants expected to be given in this batch processclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe grantee that received permissions to the object hashcom.google.protobuf.ByteStringThe grantee that received permissions to the object hashThe granter that granted permissions to the grantee on an object hashcom.google.protobuf.ByteStringThe granter that granted permissions to the grantee on an object hashintThe grant's place in the batch order.getHash()The hash of the object to which permissions were grantedcom.google.protobuf.ByteStringThe hash of the object to which permissions were grantedintThe total number of grants expected to be given in this batch processprotected 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(String value) The grantee that received permissions to the object hashsetGranteeAddressBytes(com.google.protobuf.ByteString value) The grantee that received permissions to the object hashsetGranterAddress(String value) The granter that granted permissions to the grantee on an object hashsetGranterAddressBytes(com.google.protobuf.ByteString value) The granter that granted permissions to the grantee on an object hashsetGrantNumber(int value) The grant's place in the batch order.The hash of the object to which permissions were grantedsetHashBytes(com.google.protobuf.ByteString value) The hash of the object to which permissions were grantedsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTotalGrantsExpected(int value) The total number of grants expected to be given in this batch processsetUnknownFields(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.BatchGrantObjectPermissionsResponse.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.BatchGrantObjectPermissionsResponse.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.BatchGrantObjectPermissionsResponse.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.BatchGrantObjectPermissionsResponse.Builder>
-
setField
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.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.BatchGrantObjectPermissionsResponse.Builder>
-
clearField
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
-
clearOneof
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
-
setRepeatedField
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.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.BatchGrantObjectPermissionsResponse.Builder>
-
addRepeatedField
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.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.BatchGrantObjectPermissionsResponse.Builder>
-
mergeFrom
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
-
mergeFrom
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.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.BatchGrantObjectPermissionsResponse.Builder>- Throws:
IOException
-
getHash
The hash of the object to which permissions were granted
string hash = 1;- Specified by:
getHashin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The hash.
-
getHashBytes
public com.google.protobuf.ByteString getHashBytes()The hash of the object to which permissions were granted
string hash = 1;- Specified by:
getHashBytesin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The bytes for hash.
-
setHash
The hash of the object to which permissions were granted
string hash = 1;- Parameters:
value- The hash to set.- Returns:
- This builder for chaining.
-
clearHash
The hash of the object to which permissions were granted
string hash = 1;- Returns:
- This builder for chaining.
-
setHashBytes
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder setHashBytes(com.google.protobuf.ByteString value) The hash of the object to which permissions were granted
string hash = 1;- Parameters:
value- The bytes for hash to set.- Returns:
- This builder for chaining.
-
getGranterAddress
The granter that granted permissions to the grantee on an object hash
string granter_address = 2;- Specified by:
getGranterAddressin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The granterAddress.
-
getGranterAddressBytes
public com.google.protobuf.ByteString getGranterAddressBytes()The granter that granted permissions to the grantee on an object hash
string granter_address = 2;- Specified by:
getGranterAddressBytesin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The bytes for granterAddress.
-
setGranterAddress
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder setGranterAddress(String value) The granter that granted permissions to the grantee on an object hash
string granter_address = 2;- Parameters:
value- The granterAddress to set.- Returns:
- This builder for chaining.
-
clearGranterAddress
The granter that granted permissions to the grantee on an object hash
string granter_address = 2;- Returns:
- This builder for chaining.
-
setGranterAddressBytes
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder setGranterAddressBytes(com.google.protobuf.ByteString value) The granter that granted permissions to the grantee on an object hash
string granter_address = 2;- Parameters:
value- The bytes for granterAddress to set.- Returns:
- This builder for chaining.
-
getGranteeAddress
The grantee that received permissions to the object hash
string grantee_address = 3;- Specified by:
getGranteeAddressin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The granteeAddress.
-
getGranteeAddressBytes
public com.google.protobuf.ByteString getGranteeAddressBytes()The grantee that received permissions to the object hash
string grantee_address = 3;- Specified by:
getGranteeAddressBytesin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The bytes for granteeAddress.
-
setGranteeAddress
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder setGranteeAddress(String value) The grantee that received permissions to the object hash
string grantee_address = 3;- Parameters:
value- The granteeAddress to set.- Returns:
- This builder for chaining.
-
clearGranteeAddress
The grantee that received permissions to the object hash
string grantee_address = 3;- Returns:
- This builder for chaining.
-
setGranteeAddressBytes
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder setGranteeAddressBytes(com.google.protobuf.ByteString value) The grantee that received permissions to the object hash
string grantee_address = 3;- Parameters:
value- The bytes for granteeAddress to set.- Returns:
- This builder for chaining.
-
getGrantNumber
public int getGrantNumber()The grant's place in the batch order. The first grant is numbered 1, and the final grant will have a number matching the total_grants_expected value
int32 grant_number = 4;- Specified by:
getGrantNumberin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The grantNumber.
-
setGrantNumber
The grant's place in the batch order. The first grant is numbered 1, and the final grant will have a number matching the total_grants_expected value
int32 grant_number = 4;- Parameters:
value- The grantNumber to set.- Returns:
- This builder for chaining.
-
clearGrantNumber
The grant's place in the batch order. The first grant is numbered 1, and the final grant will have a number matching the total_grants_expected value
int32 grant_number = 4;- Returns:
- This builder for chaining.
-
getTotalGrantsExpected
public int getTotalGrantsExpected()The total number of grants expected to be given in this batch process
int32 total_grants_expected = 5;- Specified by:
getTotalGrantsExpectedin interfaceGatewayOuterClass.BatchGrantObjectPermissionsResponseOrBuilder- Returns:
- The totalGrantsExpected.
-
setTotalGrantsExpected
public GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder setTotalGrantsExpected(int value) The total number of grants expected to be given in this batch process
int32 total_grants_expected = 5;- Parameters:
value- The totalGrantsExpected to set.- Returns:
- This builder for chaining.
-
clearTotalGrantsExpected
The total number of grants expected to be given in this batch process
int32 total_grants_expected = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.BatchGrantObjectPermissionsResponse.Builder>
-