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