All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.protobuf.FieldOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/protobuf/type.proto

package com.google.protobuf;

public interface FieldOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.protobuf.Field)
    com.google.protobuf.MessageOrBuilder {

  /**
   * optional .google.protobuf.Field.Kind kind = 1;
   *
   * 
   * The field type.
   * 
*/ int getKindValue(); /** * optional .google.protobuf.Field.Kind kind = 1; * *
   * The field type.
   * 
*/ com.google.protobuf.Field.Kind getKind(); /** * optional .google.protobuf.Field.Cardinality cardinality = 2; * *
   * The field cardinality.
   * 
*/ int getCardinalityValue(); /** * optional .google.protobuf.Field.Cardinality cardinality = 2; * *
   * The field cardinality.
   * 
*/ com.google.protobuf.Field.Cardinality getCardinality(); /** * optional int32 number = 3; * *
   * The field number.
   * 
*/ int getNumber(); /** * optional string name = 4; * *
   * The field name.
   * 
*/ java.lang.String getName(); /** * optional string name = 4; * *
   * The field name.
   * 
*/ com.google.protobuf.ByteString getNameBytes(); /** * optional string type_url = 6; * *
   * The field type URL, without the scheme, for message or enumeration
   * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
   * 
*/ java.lang.String getTypeUrl(); /** * optional string type_url = 6; * *
   * The field type URL, without the scheme, for message or enumeration
   * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
   * 
*/ com.google.protobuf.ByteString getTypeUrlBytes(); /** * optional int32 oneof_index = 7; * *
   * The index of the field type in `Type.oneofs`, for message or enumeration
   * types. The first type has index 1; zero means the type is not in the list.
   * 
*/ int getOneofIndex(); /** * optional bool packed = 8; * *
   * Whether to use alternative packed wire representation.
   * 
*/ boolean getPacked(); /** * repeated .google.protobuf.Option options = 9; * *
   * The protocol buffer options.
   * 
*/ java.util.List getOptionsList(); /** * repeated .google.protobuf.Option options = 9; * *
   * The protocol buffer options.
   * 
*/ com.google.protobuf.Option getOptions(int index); /** * repeated .google.protobuf.Option options = 9; * *
   * The protocol buffer options.
   * 
*/ int getOptionsCount(); /** * repeated .google.protobuf.Option options = 9; * *
   * The protocol buffer options.
   * 
*/ java.util.List getOptionsOrBuilderList(); /** * repeated .google.protobuf.Option options = 9; * *
   * The protocol buffer options.
   * 
*/ com.google.protobuf.OptionOrBuilder getOptionsOrBuilder( int index); /** * optional string json_name = 10; * *
   * The field JSON name.
   * 
*/ java.lang.String getJsonName(); /** * optional string json_name = 10; * *
   * The field JSON name.
   * 
*/ com.google.protobuf.ByteString getJsonNameBytes(); /** * optional string default_value = 11; * *
   * The string value of the default value of this field. Proto2 syntax only.
   * 
*/ java.lang.String getDefaultValue(); /** * optional string default_value = 11; * *
   * The string value of the default value of this field. Proto2 syntax only.
   * 
*/ com.google.protobuf.ByteString getDefaultValueBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy