public static final class RouteFailure.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteFailure.Builder> implements RouteFailureOrBuilder
alluxio.grpc.block.RouteFailure
Modifier and Type | Method and Description |
---|---|
RouteFailure.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteFailure |
build() |
RouteFailure |
buildPartial() |
RouteFailure.Builder |
clear() |
RouteFailure.Builder |
clearCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
RouteFailure.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteFailure.Builder |
clearIsSkip()
optional bool is_skip = 5; |
RouteFailure.Builder |
clearMessage()
A developer-facing error message
|
RouteFailure.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteFailure.Builder |
clearRetryable()
optional bool retryable = 4; |
RouteFailure.Builder |
clearRoute()
required .alluxio.grpc.block.Route route = 1; |
RouteFailure.Builder |
clone() |
int |
getCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
RouteFailure |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsSkip()
optional bool is_skip = 5; |
String |
getMessage()
A developer-facing error message
|
com.google.protobuf.ByteString |
getMessageBytes()
A developer-facing error message
|
boolean |
getRetryable()
optional bool retryable = 4; |
Route |
getRoute()
required .alluxio.grpc.block.Route route = 1; |
Route.Builder |
getRouteBuilder()
required .alluxio.grpc.block.Route route = 1; |
RouteOrBuilder |
getRouteOrBuilder()
required .alluxio.grpc.block.Route route = 1; |
boolean |
hasCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
boolean |
hasIsSkip()
optional bool is_skip = 5; |
boolean |
hasMessage()
A developer-facing error message
|
boolean |
hasRetryable()
optional bool retryable = 4; |
boolean |
hasRoute()
required .alluxio.grpc.block.Route route = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteFailure.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteFailure.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteFailure.Builder |
mergeFrom(RouteFailure other) |
RouteFailure.Builder |
mergeRoute(Route value)
required .alluxio.grpc.block.Route route = 1; |
RouteFailure.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteFailure.Builder |
setCode(int value)
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
RouteFailure.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteFailure.Builder |
setIsSkip(boolean value)
optional bool is_skip = 5; |
RouteFailure.Builder |
setMessage(String value)
A developer-facing error message
|
RouteFailure.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
A developer-facing error message
|
RouteFailure.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteFailure.Builder |
setRetryable(boolean value)
optional bool retryable = 4; |
RouteFailure.Builder |
setRoute(Route.Builder builderForValue)
required .alluxio.grpc.block.Route route = 1; |
RouteFailure.Builder |
setRoute(Route value)
required .alluxio.grpc.block.Route route = 1; |
RouteFailure.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<RouteFailure.Builder>
public RouteFailure.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<RouteFailure.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<RouteFailure.Builder>
public RouteFailure getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RouteFailure build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RouteFailure buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RouteFailure.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<RouteFailure.Builder>
public RouteFailure.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<RouteFailure.Builder>
public RouteFailure.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RouteFailure.Builder>
public RouteFailure.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RouteFailure.Builder>
public RouteFailure.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<RouteFailure.Builder>
public RouteFailure.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<RouteFailure.Builder>
public RouteFailure.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RouteFailure.Builder>
public RouteFailure.Builder mergeFrom(RouteFailure other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RouteFailure.Builder>
public RouteFailure.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<RouteFailure.Builder>
IOException
public boolean hasRoute()
required .alluxio.grpc.block.Route route = 1;
hasRoute
in interface RouteFailureOrBuilder
public Route getRoute()
required .alluxio.grpc.block.Route route = 1;
getRoute
in interface RouteFailureOrBuilder
public RouteFailure.Builder setRoute(Route value)
required .alluxio.grpc.block.Route route = 1;
public RouteFailure.Builder setRoute(Route.Builder builderForValue)
required .alluxio.grpc.block.Route route = 1;
public RouteFailure.Builder mergeRoute(Route value)
required .alluxio.grpc.block.Route route = 1;
public RouteFailure.Builder clearRoute()
required .alluxio.grpc.block.Route route = 1;
public Route.Builder getRouteBuilder()
required .alluxio.grpc.block.Route route = 1;
public RouteOrBuilder getRouteOrBuilder()
required .alluxio.grpc.block.Route route = 1;
getRouteOrBuilder
in interface RouteFailureOrBuilder
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 RouteFailureOrBuilder
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 RouteFailureOrBuilder
public RouteFailure.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 RouteFailure.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 RouteFailureOrBuilder
public String getMessage()
A developer-facing error message
optional string message = 3;
getMessage
in interface RouteFailureOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
A developer-facing error message
optional string message = 3;
getMessageBytes
in interface RouteFailureOrBuilder
public RouteFailure.Builder setMessage(String value)
A developer-facing error message
optional string message = 3;
value
- The message to set.public RouteFailure.Builder clearMessage()
A developer-facing error message
optional string message = 3;
public RouteFailure.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 RouteFailureOrBuilder
public boolean getRetryable()
optional bool retryable = 4;
getRetryable
in interface RouteFailureOrBuilder
public RouteFailure.Builder setRetryable(boolean value)
optional bool retryable = 4;
value
- The retryable to set.public RouteFailure.Builder clearRetryable()
optional bool retryable = 4;
public boolean hasIsSkip()
optional bool is_skip = 5;
hasIsSkip
in interface RouteFailureOrBuilder
public boolean getIsSkip()
optional bool is_skip = 5;
getIsSkip
in interface RouteFailureOrBuilder
public RouteFailure.Builder setIsSkip(boolean value)
optional bool is_skip = 5;
value
- The isSkip to set.public RouteFailure.Builder clearIsSkip()
optional bool is_skip = 5;
public final RouteFailure.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouteFailure.Builder>
public final RouteFailure.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouteFailure.Builder>
Copyright © 2023. All Rights Reserved.