public static final class PrefsProto.StringArrayValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder> implements PrefsProto.StringArrayValueOrBuilder
this is necessary to support null valuesProtobuf type
de.huxhorn.lilith.prefs.StringArrayValue
Modifier and Type | Method and Description |
---|---|
PrefsProto.StringArrayValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PrefsProto.StringArrayValue |
build() |
PrefsProto.StringArrayValue |
buildPartial() |
PrefsProto.StringArrayValue.Builder |
clear() |
PrefsProto.StringArrayValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PrefsProto.StringArrayValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PrefsProto.StringArrayValue.Builder |
clearValue()
optional string value = 1; |
PrefsProto.StringArrayValue.Builder |
clone() |
PrefsProto.StringArrayValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getValue()
optional string value = 1; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 1; |
boolean |
hasValue()
optional string value = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PrefsProto.StringArrayValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PrefsProto.StringArrayValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
PrefsProto.StringArrayValue.Builder |
mergeFrom(PrefsProto.StringArrayValue other) |
PrefsProto.StringArrayValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PrefsProto.StringArrayValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PrefsProto.StringArrayValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
PrefsProto.StringArrayValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PrefsProto.StringArrayValue.Builder |
setValue(java.lang.String value)
optional string value = 1; |
PrefsProto.StringArrayValue.Builder |
setValueBytes(com.google.protobuf.ByteString value)
optional string value = 1; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.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<PrefsProto.StringArrayValue.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<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PrefsProto.StringArrayValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PrefsProto.StringArrayValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PrefsProto.StringArrayValue.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<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder mergeFrom(PrefsProto.StringArrayValue other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>
public PrefsProto.StringArrayValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<PrefsProto.StringArrayValue.Builder>
java.io.IOException
public boolean hasValue()
optional string value = 1;
hasValue
in interface PrefsProto.StringArrayValueOrBuilder
public java.lang.String getValue()
optional string value = 1;
getValue
in interface PrefsProto.StringArrayValueOrBuilder
public com.google.protobuf.ByteString getValueBytes()
optional string value = 1;
getValueBytes
in interface PrefsProto.StringArrayValueOrBuilder
public PrefsProto.StringArrayValue.Builder setValue(java.lang.String value)
optional string value = 1;
value
- The value to set.public PrefsProto.StringArrayValue.Builder clearValue()
optional string value = 1;
public PrefsProto.StringArrayValue.Builder setValueBytes(com.google.protobuf.ByteString value)
optional string value = 1;
value
- The bytes for value to set.public final PrefsProto.StringArrayValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>
public final PrefsProto.StringArrayValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PrefsProto.StringArrayValue.Builder>