public static final class BlockStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BlockStatus.Builder> implements BlockStatusOrBuilder
alluxio.grpc.block.BlockStatus
Modifier and Type | Method and Description |
---|---|
BlockStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockStatus |
build() |
BlockStatus |
buildPartial() |
BlockStatus.Builder |
clear() |
BlockStatus.Builder |
clearBlock()
required .alluxio.grpc.block.Block block = 1; |
BlockStatus.Builder |
clearCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
BlockStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BlockStatus.Builder |
clearMessage()
A developer-facing error message
|
BlockStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BlockStatus.Builder |
clearRetryable()
optional bool retryable = 4; |
BlockStatus.Builder |
clone() |
Block |
getBlock()
required .alluxio.grpc.block.Block block = 1; |
Block.Builder |
getBlockBuilder()
required .alluxio.grpc.block.Block block = 1; |
BlockOrBuilder |
getBlockOrBuilder()
required .alluxio.grpc.block.Block block = 1; |
int |
getCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
BlockStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessage()
A developer-facing error message
|
com.google.protobuf.ByteString |
getMessageBytes()
A developer-facing error message
|
boolean |
getRetryable()
optional bool retryable = 4; |
boolean |
hasBlock()
required .alluxio.grpc.block.Block block = 1; |
boolean |
hasCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
boolean |
hasMessage()
A developer-facing error message
|
boolean |
hasRetryable()
optional bool retryable = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BlockStatus.Builder |
mergeBlock(Block value)
required .alluxio.grpc.block.Block block = 1; |
BlockStatus.Builder |
mergeFrom(BlockStatus other) |
BlockStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BlockStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
BlockStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BlockStatus.Builder |
setBlock(Block.Builder builderForValue)
required .alluxio.grpc.block.Block block = 1; |
BlockStatus.Builder |
setBlock(Block value)
required .alluxio.grpc.block.Block block = 1; |
BlockStatus.Builder |
setCode(int value)
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
BlockStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockStatus.Builder |
setMessage(String value)
A developer-facing error message
|
BlockStatus.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
A developer-facing error message
|
BlockStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BlockStatus.Builder |
setRetryable(boolean value)
optional bool retryable = 4; |
BlockStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<BlockStatus.Builder>
public BlockStatus.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<BlockStatus.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<BlockStatus.Builder>
public BlockStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BlockStatus build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BlockStatus buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BlockStatus.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<BlockStatus.Builder>
public BlockStatus.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<BlockStatus.Builder>
public BlockStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockStatus.Builder>
public BlockStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockStatus.Builder>
public BlockStatus.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<BlockStatus.Builder>
public BlockStatus.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<BlockStatus.Builder>
public BlockStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BlockStatus.Builder>
public BlockStatus.Builder mergeFrom(BlockStatus other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockStatus.Builder>
public BlockStatus.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<BlockStatus.Builder>
IOException
public boolean hasBlock()
required .alluxio.grpc.block.Block block = 1;
hasBlock
in interface BlockStatusOrBuilder
public Block getBlock()
required .alluxio.grpc.block.Block block = 1;
getBlock
in interface BlockStatusOrBuilder
public BlockStatus.Builder setBlock(Block value)
required .alluxio.grpc.block.Block block = 1;
public BlockStatus.Builder setBlock(Block.Builder builderForValue)
required .alluxio.grpc.block.Block block = 1;
public BlockStatus.Builder mergeBlock(Block value)
required .alluxio.grpc.block.Block block = 1;
public BlockStatus.Builder clearBlock()
required .alluxio.grpc.block.Block block = 1;
public Block.Builder getBlockBuilder()
required .alluxio.grpc.block.Block block = 1;
public BlockOrBuilder getBlockOrBuilder()
required .alluxio.grpc.block.Block block = 1;
getBlockOrBuilder
in interface BlockStatusOrBuilder
public boolean hasCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
required int32 code = 2;
hasCode
in interface BlockStatusOrBuilder
public int getCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
required int32 code = 2;
getCode
in interface BlockStatusOrBuilder
public BlockStatus.Builder setCode(int value)
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
required int32 code = 2;
value
- The code to set.public BlockStatus.Builder clearCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
required int32 code = 2;
public boolean hasMessage()
A developer-facing error message
optional string message = 3;
hasMessage
in interface BlockStatusOrBuilder
public String getMessage()
A developer-facing error message
optional string message = 3;
getMessage
in interface BlockStatusOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
A developer-facing error message
optional string message = 3;
getMessageBytes
in interface BlockStatusOrBuilder
public BlockStatus.Builder setMessage(String value)
A developer-facing error message
optional string message = 3;
value
- The message to set.public BlockStatus.Builder clearMessage()
A developer-facing error message
optional string message = 3;
public BlockStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
A developer-facing error message
optional string message = 3;
value
- The bytes for message to set.public boolean hasRetryable()
optional bool retryable = 4;
hasRetryable
in interface BlockStatusOrBuilder
public boolean getRetryable()
optional bool retryable = 4;
getRetryable
in interface BlockStatusOrBuilder
public BlockStatus.Builder setRetryable(boolean value)
optional bool retryable = 4;
value
- The retryable to set.public BlockStatus.Builder clearRetryable()
optional bool retryable = 4;
public final BlockStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockStatus.Builder>
public final BlockStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockStatus.Builder>
Copyright © 2023. All Rights Reserved.