public static final class DescriptorProtos.FieldOptions.EditionDefault extends GeneratedMessageV3 implements DescriptorProtos.FieldOptions.EditionDefaultOrBuilder
google.protobuf.FieldOptions.EditionDefault
Modifier and Type | Class and Description |
---|---|
static class |
DescriptorProtos.FieldOptions.EditionDefault.Builder
Protobuf type
google.protobuf.FieldOptions.EditionDefault |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
EDITION_FIELD_NUMBER |
static Parser<DescriptorProtos.FieldOptions.EditionDefault> |
PARSER
Deprecated.
|
static int |
VALUE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int EDITION_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
@Deprecated public static final Parser<DescriptorProtos.FieldOptions.EditionDefault> PARSER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
GeneratedMessageV3
newInstance
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageV3
internalGetFieldAccessorTable
in class GeneratedMessageV3
public boolean hasEdition()
optional .google.protobuf.Edition edition = 3;
hasEdition
in interface DescriptorProtos.FieldOptions.EditionDefaultOrBuilder
public DescriptorProtos.Edition getEdition()
optional .google.protobuf.Edition edition = 3;
getEdition
in interface DescriptorProtos.FieldOptions.EditionDefaultOrBuilder
public boolean hasValue()
Textproto value.
optional string value = 2;
hasValue
in interface DescriptorProtos.FieldOptions.EditionDefaultOrBuilder
public String getValue()
Textproto value.
optional string value = 2;
getValue
in interface DescriptorProtos.FieldOptions.EditionDefaultOrBuilder
public ByteString getValueBytes()
Textproto value.
optional string value = 2;
getValueBytes
in interface DescriptorProtos.FieldOptions.EditionDefaultOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
MessageLite
output
. This does not flush or close the
stream.writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
Message
true
if the given
object is a message of the same type (as defined by getDescriptorForType()
) and has
identical values for all of its fields. Subclasses must implement this; inheriting Object.equals()
is incorrect.equals
in interface Message
equals
in class AbstractMessage
obj
- object to be compared for equality with this messagetrue
if the specified object is equal to this messagepublic int hashCode()
Message
Object.hashCode()
is incorrect.hashCode
in interface Message
hashCode
in class AbstractMessage
Map.hashCode()
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.FieldOptions.EditionDefault parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.FieldOptions.EditionDefault parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.FieldOptions.EditionDefault parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DescriptorProtos.FieldOptions.EditionDefault.Builder newBuilderForType()
MessageLite
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DescriptorProtos.FieldOptions.EditionDefault.Builder newBuilder()
public static DescriptorProtos.FieldOptions.EditionDefault.Builder newBuilder(DescriptorProtos.FieldOptions.EditionDefault prototype)
public DescriptorProtos.FieldOptions.EditionDefault.Builder toBuilder()
MessageLite
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DescriptorProtos.FieldOptions.EditionDefault.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
GeneratedMessageV3
newBuilderForType
in class GeneratedMessageV3
public static DescriptorProtos.FieldOptions.EditionDefault getDefaultInstance()
public static Parser<DescriptorProtos.FieldOptions.EditionDefault> parser()
public Parser<DescriptorProtos.FieldOptions.EditionDefault> getParserForType()
GeneratedMessageV3
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public DescriptorProtos.FieldOptions.EditionDefault getDefaultInstanceForType()
MessageLiteOrBuilder
getDefaultInstance()
method of generated
message classes in that this method is an abstract method of the MessageLite
interface
whereas getDefaultInstance()
is a static method of a specific class. They return the
same thing.getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2008–2025. All rights reserved.