public static interface DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getFullName()
The fully-qualified name of the extension field.
|
ByteString |
getFullNameBytes()
The fully-qualified name of the extension field.
|
boolean |
getIsRepeated()
Deprecated.
google.protobuf.ExtensionRangeOptions.Declaration.is_repeated is deprecated.
See google/protobuf/descriptor.proto;l=149
|
int |
getNumber()
The extension number declared within the extension range.
|
boolean |
getRepeated()
If true, indicates that the extension must be defined as repeated.
|
boolean |
getReserved()
If true, indicates that the number is reserved in the extension range,
and any extension field with the number will fail to compile.
|
String |
getType()
The fully-qualified type name of the extension field.
|
ByteString |
getTypeBytes()
The fully-qualified type name of the extension field.
|
boolean |
hasFullName()
The fully-qualified name of the extension field.
|
boolean |
hasIsRepeated()
Deprecated.
google.protobuf.ExtensionRangeOptions.Declaration.is_repeated is deprecated.
See google/protobuf/descriptor.proto;l=149
|
boolean |
hasNumber()
The extension number declared within the extension range.
|
boolean |
hasRepeated()
If true, indicates that the extension must be defined as repeated.
|
boolean |
hasReserved()
If true, indicates that the number is reserved in the extension range,
and any extension field with the number will fail to compile.
|
boolean |
hasType()
The fully-qualified type name of the extension field.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasNumber()
The extension number declared within the extension range.
optional int32 number = 1;int getNumber()
The extension number declared within the extension range.
optional int32 number = 1;boolean hasFullName()
The fully-qualified name of the extension field. There must be a leading dot in front of the full name.
optional string full_name = 2;String getFullName()
The fully-qualified name of the extension field. There must be a leading dot in front of the full name.
optional string full_name = 2;ByteString getFullNameBytes()
The fully-qualified name of the extension field. There must be a leading dot in front of the full name.
optional string full_name = 2;boolean hasType()
The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.
optional string type = 3;String getType()
The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.
optional string type = 3;ByteString getTypeBytes()
The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.
optional string type = 3;@Deprecated boolean hasIsRepeated()
Deprecated. Please use "repeated".
optional bool is_repeated = 4 [deprecated = true];@Deprecated boolean getIsRepeated()
Deprecated. Please use "repeated".
optional bool is_repeated = 4 [deprecated = true];boolean hasReserved()
If true, indicates that the number is reserved in the extension range, and any extension field with the number will fail to compile. Set this when a declared extension field is deleted.
optional bool reserved = 5;boolean getReserved()
If true, indicates that the number is reserved in the extension range, and any extension field with the number will fail to compile. Set this when a declared extension field is deleted.
optional bool reserved = 5;boolean hasRepeated()
If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.
optional bool repeated = 6;boolean getRepeated()
If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.
optional bool repeated = 6;Copyright © 2008–2023. All rights reserved.