public static final class CreateLocalBlockRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateLocalBlockRequest.Builder> implements CreateLocalBlockRequestOrBuilder
next available id: 9Protobuf type
alluxio.grpc.block.CreateLocalBlockRequest
Modifier and Type | Method and Description |
---|---|
CreateLocalBlockRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateLocalBlockRequest |
build() |
CreateLocalBlockRequest |
buildPartial() |
CreateLocalBlockRequest.Builder |
clear() |
CreateLocalBlockRequest.Builder |
clearBlockId()
optional int64 block_id = 1; |
CreateLocalBlockRequest.Builder |
clearCleanupOnFailure()
optional bool cleanup_on_failure = 6; |
CreateLocalBlockRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateLocalBlockRequest.Builder |
clearMediumType()
optional string medium_type = 7; |
CreateLocalBlockRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateLocalBlockRequest.Builder |
clearOnlyReserveSpace()
If set, only reserve space for the block.
|
CreateLocalBlockRequest.Builder |
clearPinOnCreate()
optional bool pin_on_create = 8; |
CreateLocalBlockRequest.Builder |
clearSpaceToReserve()
optional int64 space_to_reserve = 4; |
CreateLocalBlockRequest.Builder |
clearTier()
optional int32 tier = 3; |
CreateLocalBlockRequest.Builder |
clone() |
long |
getBlockId()
optional int64 block_id = 1; |
boolean |
getCleanupOnFailure()
optional bool cleanup_on_failure = 6; |
CreateLocalBlockRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMediumType()
optional string medium_type = 7; |
com.google.protobuf.ByteString |
getMediumTypeBytes()
optional string medium_type = 7; |
boolean |
getOnlyReserveSpace()
If set, only reserve space for the block.
|
boolean |
getPinOnCreate()
optional bool pin_on_create = 8; |
long |
getSpaceToReserve()
optional int64 space_to_reserve = 4; |
int |
getTier()
optional int32 tier = 3; |
boolean |
hasBlockId()
optional int64 block_id = 1; |
boolean |
hasCleanupOnFailure()
optional bool cleanup_on_failure = 6; |
boolean |
hasMediumType()
optional string medium_type = 7; |
boolean |
hasOnlyReserveSpace()
If set, only reserve space for the block.
|
boolean |
hasPinOnCreate()
optional bool pin_on_create = 8; |
boolean |
hasSpaceToReserve()
optional int64 space_to_reserve = 4; |
boolean |
hasTier()
optional int32 tier = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateLocalBlockRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateLocalBlockRequest.Builder |
mergeFrom(CreateLocalBlockRequest other) |
CreateLocalBlockRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateLocalBlockRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateLocalBlockRequest.Builder |
setBlockId(long value)
optional int64 block_id = 1; |
CreateLocalBlockRequest.Builder |
setCleanupOnFailure(boolean value)
optional bool cleanup_on_failure = 6; |
CreateLocalBlockRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateLocalBlockRequest.Builder |
setMediumType(String value)
optional string medium_type = 7; |
CreateLocalBlockRequest.Builder |
setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string medium_type = 7; |
CreateLocalBlockRequest.Builder |
setOnlyReserveSpace(boolean value)
If set, only reserve space for the block.
|
CreateLocalBlockRequest.Builder |
setPinOnCreate(boolean value)
optional bool pin_on_create = 8; |
CreateLocalBlockRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateLocalBlockRequest.Builder |
setSpaceToReserve(long value)
optional int64 space_to_reserve = 4; |
CreateLocalBlockRequest.Builder |
setTier(int value)
optional int32 tier = 3; |
CreateLocalBlockRequest.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<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.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<CreateLocalBlockRequest.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<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CreateLocalBlockRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CreateLocalBlockRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CreateLocalBlockRequest.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<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.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<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.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<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.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<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.Builder mergeFrom(CreateLocalBlockRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLocalBlockRequest.Builder>
public CreateLocalBlockRequest.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<CreateLocalBlockRequest.Builder>
IOException
public boolean hasBlockId()
optional int64 block_id = 1;
hasBlockId
in interface CreateLocalBlockRequestOrBuilder
public long getBlockId()
optional int64 block_id = 1;
getBlockId
in interface CreateLocalBlockRequestOrBuilder
public CreateLocalBlockRequest.Builder setBlockId(long value)
optional int64 block_id = 1;
value
- The blockId to set.public CreateLocalBlockRequest.Builder clearBlockId()
optional int64 block_id = 1;
public boolean hasTier()
optional int32 tier = 3;
hasTier
in interface CreateLocalBlockRequestOrBuilder
public int getTier()
optional int32 tier = 3;
getTier
in interface CreateLocalBlockRequestOrBuilder
public CreateLocalBlockRequest.Builder setTier(int value)
optional int32 tier = 3;
value
- The tier to set.public CreateLocalBlockRequest.Builder clearTier()
optional int32 tier = 3;
public boolean hasSpaceToReserve()
optional int64 space_to_reserve = 4;
hasSpaceToReserve
in interface CreateLocalBlockRequestOrBuilder
public long getSpaceToReserve()
optional int64 space_to_reserve = 4;
getSpaceToReserve
in interface CreateLocalBlockRequestOrBuilder
public CreateLocalBlockRequest.Builder setSpaceToReserve(long value)
optional int64 space_to_reserve = 4;
value
- The spaceToReserve to set.public CreateLocalBlockRequest.Builder clearSpaceToReserve()
optional int64 space_to_reserve = 4;
public boolean hasOnlyReserveSpace()
If set, only reserve space for the block.
optional bool only_reserve_space = 5;
hasOnlyReserveSpace
in interface CreateLocalBlockRequestOrBuilder
public boolean getOnlyReserveSpace()
If set, only reserve space for the block.
optional bool only_reserve_space = 5;
getOnlyReserveSpace
in interface CreateLocalBlockRequestOrBuilder
public CreateLocalBlockRequest.Builder setOnlyReserveSpace(boolean value)
If set, only reserve space for the block.
optional bool only_reserve_space = 5;
value
- The onlyReserveSpace to set.public CreateLocalBlockRequest.Builder clearOnlyReserveSpace()
If set, only reserve space for the block.
optional bool only_reserve_space = 5;
public boolean hasCleanupOnFailure()
optional bool cleanup_on_failure = 6;
hasCleanupOnFailure
in interface CreateLocalBlockRequestOrBuilder
public boolean getCleanupOnFailure()
optional bool cleanup_on_failure = 6;
getCleanupOnFailure
in interface CreateLocalBlockRequestOrBuilder
public CreateLocalBlockRequest.Builder setCleanupOnFailure(boolean value)
optional bool cleanup_on_failure = 6;
value
- The cleanupOnFailure to set.public CreateLocalBlockRequest.Builder clearCleanupOnFailure()
optional bool cleanup_on_failure = 6;
public boolean hasMediumType()
optional string medium_type = 7;
hasMediumType
in interface CreateLocalBlockRequestOrBuilder
public String getMediumType()
optional string medium_type = 7;
getMediumType
in interface CreateLocalBlockRequestOrBuilder
public com.google.protobuf.ByteString getMediumTypeBytes()
optional string medium_type = 7;
getMediumTypeBytes
in interface CreateLocalBlockRequestOrBuilder
public CreateLocalBlockRequest.Builder setMediumType(String value)
optional string medium_type = 7;
value
- The mediumType to set.public CreateLocalBlockRequest.Builder clearMediumType()
optional string medium_type = 7;
public CreateLocalBlockRequest.Builder setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string medium_type = 7;
value
- The bytes for mediumType to set.public boolean hasPinOnCreate()
optional bool pin_on_create = 8;
hasPinOnCreate
in interface CreateLocalBlockRequestOrBuilder
public boolean getPinOnCreate()
optional bool pin_on_create = 8;
getPinOnCreate
in interface CreateLocalBlockRequestOrBuilder
public CreateLocalBlockRequest.Builder setPinOnCreate(boolean value)
optional bool pin_on_create = 8;
value
- The pinOnCreate to set.public CreateLocalBlockRequest.Builder clearPinOnCreate()
optional bool pin_on_create = 8;
public final CreateLocalBlockRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLocalBlockRequest.Builder>
public final CreateLocalBlockRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLocalBlockRequest.Builder>
Copyright © 2023. All Rights Reserved.