public static final class DescriptorProtos.ServiceOptions extends GeneratedMessage.ExtendableMessage<DescriptorProtos.ServiceOptions> implements DescriptorProtos.ServiceOptionsOrBuilder
google.protobuf.ServiceOptions
Modifier and Type | Class and Description |
---|---|
static class |
DescriptorProtos.ServiceOptions.Builder
Protobuf type
google.protobuf.ServiceOptions |
GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>
Modifier and Type | Field and Description |
---|---|
static Parser<DescriptorProtos.ServiceOptions> |
PARSER |
static int |
UNINTERPRETED_OPTION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static DescriptorProtos.ServiceOptions |
getDefaultInstance() |
DescriptorProtos.ServiceOptions |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
static Descriptors.Descriptor |
getDescriptor() |
Parser<DescriptorProtos.ServiceOptions> |
getParserForType()
Gets the parser for a message of the same type as this message.
|
int |
getSerializedSize()
Get the number of bytes required to encode this message.
|
DescriptorProtos.UninterpretedOption |
getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
int |
getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
java.util.List<DescriptorProtos.UninterpretedOption> |
getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
DescriptorProtos.UninterpretedOptionOrBuilder |
getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> |
getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
UnknownFieldSet |
getUnknownFields()
Get the
UnknownFieldSet for this message. |
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded
messages are set, false otherwise.
|
static DescriptorProtos.ServiceOptions.Builder |
newBuilder() |
static DescriptorProtos.ServiceOptions.Builder |
newBuilder(DescriptorProtos.ServiceOptions prototype) |
DescriptorProtos.ServiceOptions.Builder |
newBuilderForType()
Constructs a new builder for a message of the same type as this message.
|
static DescriptorProtos.ServiceOptions |
parseDelimitedFrom(java.io.InputStream input) |
static DescriptorProtos.ServiceOptions |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.ServiceOptions |
parseFrom(byte[] data) |
static DescriptorProtos.ServiceOptions |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.ServiceOptions |
parseFrom(ByteString data) |
static DescriptorProtos.ServiceOptions |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.ServiceOptions |
parseFrom(CodedInputStream input) |
static DescriptorProtos.ServiceOptions |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.ServiceOptions |
parseFrom(java.io.InputStream input) |
static DescriptorProtos.ServiceOptions |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
DescriptorProtos.ServiceOptions.Builder |
toBuilder()
Constructs a builder initialized with the current message.
|
void |
writeTo(CodedOutputStream output)
Serializes the message and writes it to
output . |
getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField
getDescriptorForType, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
getExtension, getExtension, getExtensionCount, hasExtension
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<DescriptorProtos.ServiceOptions> PARSER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
public static DescriptorProtos.ServiceOptions getDefaultInstance()
public DescriptorProtos.ServiceOptions 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
public final UnknownFieldSet getUnknownFields()
MessageOrBuilder
UnknownFieldSet
for this message.getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessage
public static final Descriptors.Descriptor getDescriptor()
public Parser<DescriptorProtos.ServiceOptions> getParserForType()
MessageLite
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessage
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionList
in interface DescriptorProtos.ServiceOptionsOrBuilder
public java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionOrBuilderList
in interface DescriptorProtos.ServiceOptionsOrBuilder
public int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionCount
in interface DescriptorProtos.ServiceOptionsOrBuilder
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOption
in interface DescriptorProtos.ServiceOptionsOrBuilder
public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionOrBuilder
in interface DescriptorProtos.ServiceOptionsOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessage.ExtendableMessage<DescriptorProtos.ServiceOptions>
public void writeTo(CodedOutputStream output) throws java.io.IOException
MessageLite
output
. This does not
flush or close the stream.writeTo
in interface MessageLite
writeTo
in class AbstractMessage
java.io.IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class AbstractMessage
public static DescriptorProtos.ServiceOptions parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceOptions parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceOptions parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceOptions parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceOptions parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceOptions parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceOptions.Builder newBuilder()
public DescriptorProtos.ServiceOptions.Builder newBuilderForType()
MessageLite
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DescriptorProtos.ServiceOptions.Builder newBuilder(DescriptorProtos.ServiceOptions prototype)
public DescriptorProtos.ServiceOptions.Builder toBuilder()
MessageLite
toBuilder
in interface Message
toBuilder
in interface MessageLite