java.lang.Object
com.google.api.generator.gapic.model.Field

public abstract class Field extends Object
  • Constructor Details

    • Field

      public Field()
  • Method Details

    • name

      public abstract String name()
    • originalName

      public abstract String originalName()
    • type

      public abstract TypeNode type()
    • isRequired

      public abstract boolean isRequired()
    • fieldInfoFormat

      @Nullable public abstract com.google.api.FieldInfo.Format fieldInfoFormat()
    • isMessage

      public abstract boolean isMessage()
    • isEnum

      public abstract boolean isEnum()
    • isRepeated

      public abstract boolean isRepeated()
    • isMap

      public abstract boolean isMap()
    • isContainedInOneof

      public abstract boolean isContainedInOneof()
    • isProto3Optional

      public abstract boolean isProto3Optional()
    • resourceReference

      @Nullable public abstract ResourceReference resourceReference()
    • description

      @Nullable public abstract String description()
    • hasFieldNameConflict

      public boolean hasFieldNameConflict()
    • hasDescription

      public boolean hasDescription()
    • hasResourceReference

      public boolean hasResourceReference()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toBuilder

      public abstract Field.Builder toBuilder()
    • builder

      public static Field.Builder builder()