public interface OptionOrBuilder extends MessageLiteOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The option's name.
|
ByteString |
getNameBytes()
The option's name.
|
Any |
getValue()
The option's value.
|
boolean |
hasValue()
The option's value.
|
getDefaultInstanceForType, isInitializedString 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;Copyright © 2008–2016 Google. All rights reserved.