public static final class File.StringPairEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<File.StringPairEntry.Builder> implements File.StringPairEntryOrBuilder
A pair of strings, useful for maps. next available id: 3Protobuf type
alluxio.proto.journal.StringPairEntry
Modifier and Type | Method and Description |
---|---|
File.StringPairEntry.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
File.StringPairEntry |
build() |
File.StringPairEntry |
buildPartial() |
File.StringPairEntry.Builder |
clear() |
File.StringPairEntry.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
File.StringPairEntry.Builder |
clearKey()
optional string key = 1; |
File.StringPairEntry.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
File.StringPairEntry.Builder |
clearValue()
optional string value = 2; |
File.StringPairEntry.Builder |
clone() |
File.StringPairEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
optional string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
optional string key = 1; |
String |
getValue()
optional string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 2; |
boolean |
hasKey()
optional string key = 1; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
File.StringPairEntry.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
File.StringPairEntry.Builder |
mergeFrom(File.StringPairEntry other) |
File.StringPairEntry.Builder |
mergeFrom(com.google.protobuf.Message other) |
File.StringPairEntry.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
File.StringPairEntry.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
File.StringPairEntry.Builder |
setKey(String value)
optional string key = 1; |
File.StringPairEntry.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 1; |
File.StringPairEntry.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
File.StringPairEntry.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
File.StringPairEntry.Builder |
setValue(String value)
optional string value = 2; |
File.StringPairEntry.Builder |
setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2; |
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<File.StringPairEntry.Builder>
public File.StringPairEntry.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<File.StringPairEntry.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<File.StringPairEntry.Builder>
public File.StringPairEntry getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public File.StringPairEntry build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public File.StringPairEntry buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public File.StringPairEntry.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<File.StringPairEntry.Builder>
public File.StringPairEntry.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<File.StringPairEntry.Builder>
public File.StringPairEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<File.StringPairEntry.Builder>
public File.StringPairEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<File.StringPairEntry.Builder>
public File.StringPairEntry.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<File.StringPairEntry.Builder>
public File.StringPairEntry.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<File.StringPairEntry.Builder>
public File.StringPairEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<File.StringPairEntry.Builder>
public File.StringPairEntry.Builder mergeFrom(File.StringPairEntry other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<File.StringPairEntry.Builder>
public File.StringPairEntry.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<File.StringPairEntry.Builder>
IOException
public boolean hasKey()
optional string key = 1;
hasKey
in interface File.StringPairEntryOrBuilder
public String getKey()
optional string key = 1;
getKey
in interface File.StringPairEntryOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
optional string key = 1;
getKeyBytes
in interface File.StringPairEntryOrBuilder
public File.StringPairEntry.Builder setKey(String value)
optional string key = 1;
value
- The key to set.public File.StringPairEntry.Builder clearKey()
optional string key = 1;
public File.StringPairEntry.Builder setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 1;
value
- The bytes for key to set.public boolean hasValue()
optional string value = 2;
hasValue
in interface File.StringPairEntryOrBuilder
public String getValue()
optional string value = 2;
getValue
in interface File.StringPairEntryOrBuilder
public com.google.protobuf.ByteString getValueBytes()
optional string value = 2;
getValueBytes
in interface File.StringPairEntryOrBuilder
public File.StringPairEntry.Builder setValue(String value)
optional string value = 2;
value
- The value to set.public File.StringPairEntry.Builder clearValue()
optional string value = 2;
public File.StringPairEntry.Builder setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2;
value
- The bytes for value to set.public final File.StringPairEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<File.StringPairEntry.Builder>
public final File.StringPairEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<File.StringPairEntry.Builder>
Copyright © 2023. All Rights Reserved.