Class SetRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
io.atomix.api.runtime.atomic.value.v1.SetRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SetRequestOrBuilder, Cloneable
Enclosing class:
SetRequest

public static final class SetRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder> implements SetRequestOrBuilder
Protobuf type atomix.runtime.atomic.value.v1.SetRequest
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    bytes value = 2;
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    com.google.protobuf.Duration
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    com.google.protobuf.Duration.Builder
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    com.google.protobuf.DurationOrBuilder
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    com.google.protobuf.ByteString
    bytes value = 2;
    boolean
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    boolean
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    mergeTtl(com.google.protobuf.Duration value)
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    setId(PrimitiveId.Builder builderForValue)
    .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setTtl(com.google.protobuf.Duration value)
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    setTtl(com.google.protobuf.Duration.Builder builderForValue)
    .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setValue(com.google.protobuf.ByteString value)
    bytes value = 2;

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

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

      public SetRequest.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.GeneratedMessageV3.Builder<SetRequest.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.GeneratedMessageV3.Builder<SetRequest.Builder>
    • getDefaultInstanceForType

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

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

      public SetRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public SetRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
    • setField

      public SetRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
    • clearField

      public SetRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
    • clearOneof

      public SetRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
    • setRepeatedField

      public SetRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
    • addRepeatedField

      public SetRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
    • mergeFrom

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

      public SetRequest.Builder mergeFrom(SetRequest other)
    • isInitialized

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

      public SetRequest.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<SetRequest.Builder>
      Throws:
      IOException
    • hasId

      public boolean hasId()
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
      Specified by:
      hasId in interface SetRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public PrimitiveId getId()
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
      Specified by:
      getId in interface SetRequestOrBuilder
      Returns:
      The id.
    • setId

      public SetRequest.Builder setId(PrimitiveId value)
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    • setId

      public SetRequest.Builder setId(PrimitiveId.Builder builderForValue)
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    • mergeId

      public SetRequest.Builder mergeId(PrimitiveId value)
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    • clearId

      public SetRequest.Builder clearId()
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    • getIdBuilder

      public PrimitiveId.Builder getIdBuilder()
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
    • getIdOrBuilder

      public PrimitiveIdOrBuilder getIdOrBuilder()
      .atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];
      Specified by:
      getIdOrBuilder in interface SetRequestOrBuilder
    • getValue

      public com.google.protobuf.ByteString getValue()
      bytes value = 2;
      Specified by:
      getValue in interface SetRequestOrBuilder
      Returns:
      The value.
    • setValue

      public SetRequest.Builder setValue(com.google.protobuf.ByteString value)
      bytes value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public SetRequest.Builder clearValue()
      bytes value = 2;
      Returns:
      This builder for chaining.
    • hasTtl

      public boolean hasTtl()
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
      Specified by:
      hasTtl in interface SetRequestOrBuilder
      Returns:
      Whether the ttl field is set.
    • getTtl

      public com.google.protobuf.Duration getTtl()
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
      Specified by:
      getTtl in interface SetRequestOrBuilder
      Returns:
      The ttl.
    • setTtl

      public SetRequest.Builder setTtl(com.google.protobuf.Duration value)
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    • setTtl

      public SetRequest.Builder setTtl(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    • mergeTtl

      public SetRequest.Builder mergeTtl(com.google.protobuf.Duration value)
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    • clearTtl

      public SetRequest.Builder clearTtl()
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    • getTtlBuilder

      public com.google.protobuf.Duration.Builder getTtlBuilder()
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
    • getTtlOrBuilder

      public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
      .google.protobuf.Duration ttl = 3 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];
      Specified by:
      getTtlOrBuilder in interface SetRequestOrBuilder
    • setUnknownFields

      public final SetRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>
    • mergeUnknownFields

      public final SetRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetRequest.Builder>