public static final class File.StringPairEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<File.StringPairEntry.Builder> implements File.StringPairEntryOrBuilder
alluxio.proto.journal.StringPairEntry
A pair of strings, useful for maps. next available id: 3
Modifier and Type | Method and Description |
---|---|
File.StringPairEntry |
build() |
File.StringPairEntry |
buildPartial() |
File.StringPairEntry.Builder |
clear() |
File.StringPairEntry.Builder |
clearKey()
optional string key = 1; |
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.GeneratedMessage.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 |
setKey(String value)
optional string key = 1; |
File.StringPairEntry.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 1; |
File.StringPairEntry.Builder |
setValue(String value)
optional string value = 2; |
File.StringPairEntry.Builder |
setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<File.StringPairEntry.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.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;
public File.StringPairEntry.Builder clearKey()
optional string key = 1;
public File.StringPairEntry.Builder setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 1;
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;
public File.StringPairEntry.Builder clearValue()
optional string value = 2;
public File.StringPairEntry.Builder setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2;
Copyright © 2023. All Rights Reserved.