public static final class CommitBlockPRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder> implements CommitBlockPRequestOrBuilder
alluxio.grpc.block.CommitBlockPRequest
Modifier and Type | Method and Description |
---|---|
CommitBlockPRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitBlockPRequest |
build() |
CommitBlockPRequest |
buildPartial() |
CommitBlockPRequest.Builder |
clear() |
CommitBlockPRequest.Builder |
clearBlockId()
the id of the block being committed
|
CommitBlockPRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommitBlockPRequest.Builder |
clearLength()
the length of the block being committed
|
CommitBlockPRequest.Builder |
clearMediumType()
optional string mediumType = 7; |
CommitBlockPRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommitBlockPRequest.Builder |
clearOptions()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
CommitBlockPRequest.Builder |
clearTierAlias()
the alias of the target tier
|
CommitBlockPRequest.Builder |
clearUsedBytesOnTier()
the space used in bytes on the target tier
|
CommitBlockPRequest.Builder |
clearWorkerId()
the id of the worker
|
CommitBlockPRequest.Builder |
clone() |
long |
getBlockId()
the id of the block being committed
|
CommitBlockPRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLength()
the length of the block being committed
|
String |
getMediumType()
optional string mediumType = 7; |
com.google.protobuf.ByteString |
getMediumTypeBytes()
optional string mediumType = 7; |
CommitBlockPOptions |
getOptions()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
CommitBlockPOptions.Builder |
getOptionsBuilder()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
CommitBlockPOptionsOrBuilder |
getOptionsOrBuilder()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
String |
getTierAlias()
the alias of the target tier
|
com.google.protobuf.ByteString |
getTierAliasBytes()
the alias of the target tier
|
long |
getUsedBytesOnTier()
the space used in bytes on the target tier
|
long |
getWorkerId()
the id of the worker
|
boolean |
hasBlockId()
the id of the block being committed
|
boolean |
hasLength()
the length of the block being committed
|
boolean |
hasMediumType()
optional string mediumType = 7; |
boolean |
hasOptions()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
boolean |
hasTierAlias()
the alias of the target tier
|
boolean |
hasUsedBytesOnTier()
the space used in bytes on the target tier
|
boolean |
hasWorkerId()
the id of the worker
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommitBlockPRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommitBlockPRequest.Builder |
mergeFrom(CommitBlockPRequest other) |
CommitBlockPRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommitBlockPRequest.Builder |
mergeOptions(CommitBlockPOptions value)
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
CommitBlockPRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitBlockPRequest.Builder |
setBlockId(long value)
the id of the block being committed
|
CommitBlockPRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitBlockPRequest.Builder |
setLength(long value)
the length of the block being committed
|
CommitBlockPRequest.Builder |
setMediumType(String value)
optional string mediumType = 7; |
CommitBlockPRequest.Builder |
setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string mediumType = 7; |
CommitBlockPRequest.Builder |
setOptions(CommitBlockPOptions.Builder builderForValue)
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
CommitBlockPRequest.Builder |
setOptions(CommitBlockPOptions value)
optional .alluxio.grpc.block.CommitBlockPOptions options = 6; |
CommitBlockPRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommitBlockPRequest.Builder |
setTierAlias(String value)
the alias of the target tier
|
CommitBlockPRequest.Builder |
setTierAliasBytes(com.google.protobuf.ByteString value)
the alias of the target tier
|
CommitBlockPRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitBlockPRequest.Builder |
setUsedBytesOnTier(long value)
the space used in bytes on the target tier
|
CommitBlockPRequest.Builder |
setWorkerId(long value)
the id of the worker
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommitBlockPRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommitBlockPRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommitBlockPRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder mergeFrom(CommitBlockPRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public CommitBlockPRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommitBlockPRequest.Builder>
IOException
public boolean hasWorkerId()
the id of the worker
optional int64 workerId = 1;
hasWorkerId
in interface CommitBlockPRequestOrBuilder
public long getWorkerId()
the id of the worker
optional int64 workerId = 1;
getWorkerId
in interface CommitBlockPRequestOrBuilder
public CommitBlockPRequest.Builder setWorkerId(long value)
the id of the worker
optional int64 workerId = 1;
value
- The workerId to set.public CommitBlockPRequest.Builder clearWorkerId()
the id of the worker
optional int64 workerId = 1;
public boolean hasUsedBytesOnTier()
the space used in bytes on the target tier
optional int64 usedBytesOnTier = 2;
hasUsedBytesOnTier
in interface CommitBlockPRequestOrBuilder
public long getUsedBytesOnTier()
the space used in bytes on the target tier
optional int64 usedBytesOnTier = 2;
getUsedBytesOnTier
in interface CommitBlockPRequestOrBuilder
public CommitBlockPRequest.Builder setUsedBytesOnTier(long value)
the space used in bytes on the target tier
optional int64 usedBytesOnTier = 2;
value
- The usedBytesOnTier to set.public CommitBlockPRequest.Builder clearUsedBytesOnTier()
the space used in bytes on the target tier
optional int64 usedBytesOnTier = 2;
public boolean hasTierAlias()
the alias of the target tier
optional string tierAlias = 3;
hasTierAlias
in interface CommitBlockPRequestOrBuilder
public String getTierAlias()
the alias of the target tier
optional string tierAlias = 3;
getTierAlias
in interface CommitBlockPRequestOrBuilder
public com.google.protobuf.ByteString getTierAliasBytes()
the alias of the target tier
optional string tierAlias = 3;
getTierAliasBytes
in interface CommitBlockPRequestOrBuilder
public CommitBlockPRequest.Builder setTierAlias(String value)
the alias of the target tier
optional string tierAlias = 3;
value
- The tierAlias to set.public CommitBlockPRequest.Builder clearTierAlias()
the alias of the target tier
optional string tierAlias = 3;
public CommitBlockPRequest.Builder setTierAliasBytes(com.google.protobuf.ByteString value)
the alias of the target tier
optional string tierAlias = 3;
value
- The bytes for tierAlias to set.public boolean hasBlockId()
the id of the block being committed
optional int64 blockId = 4;
hasBlockId
in interface CommitBlockPRequestOrBuilder
public long getBlockId()
the id of the block being committed
optional int64 blockId = 4;
getBlockId
in interface CommitBlockPRequestOrBuilder
public CommitBlockPRequest.Builder setBlockId(long value)
the id of the block being committed
optional int64 blockId = 4;
value
- The blockId to set.public CommitBlockPRequest.Builder clearBlockId()
the id of the block being committed
optional int64 blockId = 4;
public boolean hasLength()
the length of the block being committed
optional int64 length = 5;
hasLength
in interface CommitBlockPRequestOrBuilder
public long getLength()
the length of the block being committed
optional int64 length = 5;
getLength
in interface CommitBlockPRequestOrBuilder
public CommitBlockPRequest.Builder setLength(long value)
the length of the block being committed
optional int64 length = 5;
value
- The length to set.public CommitBlockPRequest.Builder clearLength()
the length of the block being committed
optional int64 length = 5;
public boolean hasOptions()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
hasOptions
in interface CommitBlockPRequestOrBuilder
public CommitBlockPOptions getOptions()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
getOptions
in interface CommitBlockPRequestOrBuilder
public CommitBlockPRequest.Builder setOptions(CommitBlockPOptions value)
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
public CommitBlockPRequest.Builder setOptions(CommitBlockPOptions.Builder builderForValue)
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
public CommitBlockPRequest.Builder mergeOptions(CommitBlockPOptions value)
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
public CommitBlockPRequest.Builder clearOptions()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
public CommitBlockPOptions.Builder getOptionsBuilder()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
public CommitBlockPOptionsOrBuilder getOptionsOrBuilder()
optional .alluxio.grpc.block.CommitBlockPOptions options = 6;
getOptionsOrBuilder
in interface CommitBlockPRequestOrBuilder
public boolean hasMediumType()
optional string mediumType = 7;
hasMediumType
in interface CommitBlockPRequestOrBuilder
public String getMediumType()
optional string mediumType = 7;
getMediumType
in interface CommitBlockPRequestOrBuilder
public com.google.protobuf.ByteString getMediumTypeBytes()
optional string mediumType = 7;
getMediumTypeBytes
in interface CommitBlockPRequestOrBuilder
public CommitBlockPRequest.Builder setMediumType(String value)
optional string mediumType = 7;
value
- The mediumType to set.public CommitBlockPRequest.Builder clearMediumType()
optional string mediumType = 7;
public CommitBlockPRequest.Builder setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string mediumType = 7;
value
- The bytes for mediumType to set.public final CommitBlockPRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
public final CommitBlockPRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitBlockPRequest.Builder>
Copyright © 2023. All Rights Reserved.