// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/type.proto
package com.google.protobuf;
public interface TypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Type)
com.google.protobuf.MessageOrBuilder {
The fully qualified message name.
string name = 1;
Returns: The name.
/**
* <pre>
* The fully qualified message name.
* </pre>
*
* <code>string name = 1;</code>
* @return The name.
*/
java.lang.String getName();
The fully qualified message name.
string name = 1;
Returns: The bytes for name.
/**
* <pre>
* The fully qualified message name.
* </pre>
*
* <code>string name = 1;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
The list of fields.
repeated .google.protobuf.Field fields = 2;
/**
* <pre>
* The list of fields.
* </pre>
*
* <code>repeated .google.protobuf.Field fields = 2;</code>
*/
java.util.List<com.google.protobuf.Field>
getFieldsList();
The list of fields.
repeated .google.protobuf.Field fields = 2;
/**
* <pre>
* The list of fields.
* </pre>
*
* <code>repeated .google.protobuf.Field fields = 2;</code>
*/
com.google.protobuf.Field getFields(int index);
The list of fields.
repeated .google.protobuf.Field fields = 2;
/**
* <pre>
* The list of fields.
* </pre>
*
* <code>repeated .google.protobuf.Field fields = 2;</code>
*/
int getFieldsCount();
The list of fields.
repeated .google.protobuf.Field fields = 2;
/**
* <pre>
* The list of fields.
* </pre>
*
* <code>repeated .google.protobuf.Field fields = 2;</code>
*/
java.util.List<? extends com.google.protobuf.FieldOrBuilder>
getFieldsOrBuilderList();
The list of fields.
repeated .google.protobuf.Field fields = 2;
/**
* <pre>
* The list of fields.
* </pre>
*
* <code>repeated .google.protobuf.Field fields = 2;</code>
*/
com.google.protobuf.FieldOrBuilder getFieldsOrBuilder(
int index);
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
Returns: A list containing the oneofs.
/**
* <pre>
* The list of types appearing in `oneof` definitions in this type.
* </pre>
*
* <code>repeated string oneofs = 3;</code>
* @return A list containing the oneofs.
*/
java.util.List<java.lang.String>
getOneofsList();
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
Returns: The count of oneofs.
/**
* <pre>
* The list of types appearing in `oneof` definitions in this type.
* </pre>
*
* <code>repeated string oneofs = 3;</code>
* @return The count of oneofs.
*/
int getOneofsCount();
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
Params: - index – The index of the element to return.
Returns: The oneofs at the given index.
/**
* <pre>
* The list of types appearing in `oneof` definitions in this type.
* </pre>
*
* <code>repeated string oneofs = 3;</code>
* @param index The index of the element to return.
* @return The oneofs at the given index.
*/
java.lang.String getOneofs(int index);
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
Params: - index – The index of the value to return.
Returns: The bytes of the oneofs at the given index.
/**
* <pre>
* The list of types appearing in `oneof` definitions in this type.
* </pre>
*
* <code>repeated string oneofs = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the oneofs at the given index.
*/
com.google.protobuf.ByteString
getOneofsBytes(int index);
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 4;</code>
*/
java.util.List<com.google.protobuf.Option>
getOptionsList();
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 4;</code>
*/
com.google.protobuf.Option getOptions(int index);
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 4;</code>
*/
int getOptionsCount();
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 4;</code>
*/
java.util.List<? extends com.google.protobuf.OptionOrBuilder>
getOptionsOrBuilderList();
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 4;</code>
*/
com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
int index);
The source context.
.google.protobuf.SourceContext source_context = 5;
Returns: Whether the sourceContext field is set.
/**
* <pre>
* The source context.
* </pre>
*
* <code>.google.protobuf.SourceContext source_context = 5;</code>
* @return Whether the sourceContext field is set.
*/
boolean hasSourceContext();
The source context.
.google.protobuf.SourceContext source_context = 5;
Returns: The sourceContext.
/**
* <pre>
* The source context.
* </pre>
*
* <code>.google.protobuf.SourceContext source_context = 5;</code>
* @return The sourceContext.
*/
com.google.protobuf.SourceContext getSourceContext();
The source context.
.google.protobuf.SourceContext source_context = 5;
/**
* <pre>
* The source context.
* </pre>
*
* <code>.google.protobuf.SourceContext source_context = 5;</code>
*/
com.google.protobuf.SourceContextOrBuilder getSourceContextOrBuilder();
The source syntax.
.google.protobuf.Syntax syntax = 6;
Returns: The enum numeric value on the wire for syntax.
/**
* <pre>
* The source syntax.
* </pre>
*
* <code>.google.protobuf.Syntax syntax = 6;</code>
* @return The enum numeric value on the wire for syntax.
*/
int getSyntaxValue();
The source syntax.
.google.protobuf.Syntax syntax = 6;
Returns: The syntax.
/**
* <pre>
* The source syntax.
* </pre>
*
* <code>.google.protobuf.Syntax syntax = 6;</code>
* @return The syntax.
*/
com.google.protobuf.Syntax getSyntax();
}