Package gql

Class GqlTypes.Field.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GqlTypes.Field.Builder>
gql.GqlTypes.Field.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GqlTypes.FieldOrBuilder, Cloneable
Enclosing class:
GqlTypes.Field

public static final class GqlTypes.Field.Builder extends com.google.protobuf.GeneratedMessage.Builder<GqlTypes.Field.Builder> implements GqlTypes.FieldOrBuilder
 Single field within a record.
 
Protobuf type gql.Field
  • 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<GqlTypes.Field.Builder>
    • clear

      public GqlTypes.Field.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<GqlTypes.Field.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<GqlTypes.Field.Builder>
    • getDefaultInstanceForType

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

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

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

      public GqlTypes.Field.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<GqlTypes.Field.Builder>
    • mergeFrom

      public GqlTypes.Field.Builder mergeFrom(GqlTypes.Field other)
    • isInitialized

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

      public GqlTypes.Field.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<GqlTypes.Field.Builder>
      Throws:
      IOException
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface GqlTypes.FieldOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface GqlTypes.FieldOrBuilder
      Returns:
      The bytes for name.
    • setName

      public GqlTypes.Field.Builder setName(String value)
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public GqlTypes.Field.Builder clearName()
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public GqlTypes.Field.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
      .gql.Value value = 2;
      Specified by:
      hasValue in interface GqlTypes.FieldOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public GqlTypes.Value getValue()
      .gql.Value value = 2;
      Specified by:
      getValue in interface GqlTypes.FieldOrBuilder
      Returns:
      The value.
    • setValue

      public GqlTypes.Field.Builder setValue(GqlTypes.Value value)
      .gql.Value value = 2;
    • setValue

      public GqlTypes.Field.Builder setValue(GqlTypes.Value.Builder builderForValue)
      .gql.Value value = 2;
    • mergeValue

      public GqlTypes.Field.Builder mergeValue(GqlTypes.Value value)
      .gql.Value value = 2;
    • clearValue

      public GqlTypes.Field.Builder clearValue()
      .gql.Value value = 2;
    • getValueBuilder

      public GqlTypes.Value.Builder getValueBuilder()
      .gql.Value value = 2;
    • getValueOrBuilder

      public GqlTypes.ValueOrBuilder getValueOrBuilder()
      .gql.Value value = 2;
      Specified by:
      getValueOrBuilder in interface GqlTypes.FieldOrBuilder