Class Refs.TypeRef.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Refs.TypeRef.Builder>
com.apivolve.xolir.Refs.TypeRef.Builder
All Implemented Interfaces:
Refs.TypeRefOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Refs.TypeRef

public static final class Refs.TypeRef.Builder extends com.google.protobuf.GeneratedMessage.Builder<Refs.TypeRef.Builder> implements Refs.TypeRefOrBuilder
Protobuf type xolir.TypeRef
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Refs.TypeRef.Builder>
    • clear

      public Refs.TypeRef.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Refs.TypeRef.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Refs.TypeRef.Builder>
    • getDefaultInstanceForType

      public Refs.TypeRef getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Refs.TypeRef build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Refs.TypeRef buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Refs.TypeRef.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Refs.TypeRef.Builder>
    • mergeFrom

      public Refs.TypeRef.Builder mergeFrom(Refs.TypeRef other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Refs.TypeRef.Builder>
    • mergeFrom

      public Refs.TypeRef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Refs.TypeRef.Builder>
      Throws:
      IOException
    • getTargetCase

      public Refs.TypeRef.TargetCase getTargetCase()
      Specified by:
      getTargetCase in interface Refs.TypeRefOrBuilder
    • clearTarget

      public Refs.TypeRef.Builder clearTarget()
    • hasBuiltin

      public boolean hasBuiltin()
      .xolir.BuiltinType builtin = 1;
      Specified by:
      hasBuiltin in interface Refs.TypeRefOrBuilder
      Returns:
      Whether the builtin field is set.
    • getBuiltinValue

      public int getBuiltinValue()
      .xolir.BuiltinType builtin = 1;
      Specified by:
      getBuiltinValue in interface Refs.TypeRefOrBuilder
      Returns:
      The enum numeric value on the wire for builtin.
    • setBuiltinValue

      public Refs.TypeRef.Builder setBuiltinValue(int value)
      .xolir.BuiltinType builtin = 1;
      Parameters:
      value - The enum numeric value on the wire for builtin to set.
      Returns:
      This builder for chaining.
    • getBuiltin

      public BuiltinTypeOuterClass.BuiltinType getBuiltin()
      .xolir.BuiltinType builtin = 1;
      Specified by:
      getBuiltin in interface Refs.TypeRefOrBuilder
      Returns:
      The builtin.
    • setBuiltin

      .xolir.BuiltinType builtin = 1;
      Parameters:
      value - The builtin to set.
      Returns:
      This builder for chaining.
    • clearBuiltin

      public Refs.TypeRef.Builder clearBuiltin()
      .xolir.BuiltinType builtin = 1;
      Returns:
      This builder for chaining.
    • hasTypeId

      public boolean hasTypeId()
       struct, union, array, virtual...
       
      uint64 type_id = 2;
      Specified by:
      hasTypeId in interface Refs.TypeRefOrBuilder
      Returns:
      Whether the typeId field is set.
    • getTypeId

      public long getTypeId()
       struct, union, array, virtual...
       
      uint64 type_id = 2;
      Specified by:
      getTypeId in interface Refs.TypeRefOrBuilder
      Returns:
      The typeId.
    • setTypeId

      public Refs.TypeRef.Builder setTypeId(long value)
       struct, union, array, virtual...
       
      uint64 type_id = 2;
      Parameters:
      value - The typeId to set.
      Returns:
      This builder for chaining.
    • clearTypeId

      public Refs.TypeRef.Builder clearTypeId()
       struct, union, array, virtual...
       
      uint64 type_id = 2;
      Returns:
      This builder for chaining.