public interface OptionOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The option's name.
|
ByteString |
getNameBytes()
The option's name.
|
Any |
getValue()
The option's value.
|
AnyOrBuilder |
getValueOrBuilder()
The option's value.
|
boolean |
hasValue()
The option's value.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedString getName()
The option's name. For example, `"java_package"`.
optional string name = 1;ByteString getNameBytes()
The option's name. For example, `"java_package"`.
optional string name = 1;boolean hasValue()
The option's value. For example, `"com.google.protobuf"`.
optional .google.protobuf.Any value = 2;Any getValue()
The option's value. For example, `"com.google.protobuf"`.
optional .google.protobuf.Any value = 2;AnyOrBuilder getValueOrBuilder()
The option's value. For example, `"com.google.protobuf"`.
optional .google.protobuf.Any value = 2;Copyright © 2008–2016 Google. All rights reserved.