Class GetResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder>
studio.o7.octopus.sdk.v1.GetResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GetResponseOrBuilder
Enclosing class:
GetResponse

public static final class GetResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder> implements GetResponseOrBuilder
Protobuf type octopus_sdk.v1.GetResponse
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    If no object is found for the given key, this field is set
    If the key points only to one value it will be returned
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Empty
    If no object is found for the given key, this field is set
    com.google.protobuf.Empty.Builder
    If no object is found for the given key, this field is set
    com.google.protobuf.EmptyOrBuilder
    If no object is found for the given key, this field is set
    If the key points only to one value it will be returned
    If the key points only to one value it will be returned
    If the key points only to one value it will be returned
     
    boolean
    If no object is found for the given key, this field is set
    boolean
    If the key points only to one value it will be returned
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeEmpty(com.google.protobuf.Empty value)
    If no object is found for the given key, this field is set
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    If the key points only to one value it will be returned
    setEmpty(com.google.protobuf.Empty value)
    If no object is found for the given key, this field is set
    setEmpty(com.google.protobuf.Empty.Builder builderForValue)
    If no object is found for the given key, this field is set
    If the key points only to one value it will be returned
    setObject(Object.Builder builderForValue)
    If the key points only to one value it will be returned

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

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

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

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

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

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, 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()
    • internalGetFieldAccessorTable

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

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

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

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

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

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

      public GetResponse.Builder mergeFrom(GetResponse other)
    • isInitialized

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

      public GetResponse.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<GetResponse.Builder>
      Throws:
      IOException
    • getResultCase

      public GetResponse.ResultCase getResultCase()
      Specified by:
      getResultCase in interface GetResponseOrBuilder
    • clearResult

      public GetResponse.Builder clearResult()
    • hasObject

      public boolean hasObject()
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
      Specified by:
      hasObject in interface GetResponseOrBuilder
      Returns:
      Whether the object field is set.
    • getObject

      public Object getObject()
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
      Specified by:
      getObject in interface GetResponseOrBuilder
      Returns:
      The object.
    • setObject

      public GetResponse.Builder setObject(Object value)
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • setObject

      public GetResponse.Builder setObject(Object.Builder builderForValue)
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • mergeObject

      public GetResponse.Builder mergeObject(Object value)
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • clearObject

      public GetResponse.Builder clearObject()
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • getObjectBuilder

      public Object.Builder getObjectBuilder()
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • getObjectOrBuilder

      public ObjectOrBuilder getObjectOrBuilder()
      If the key points only to one value it will be returned
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
      Specified by:
      getObjectOrBuilder in interface GetResponseOrBuilder
    • hasEmpty

      public boolean hasEmpty()
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
      Specified by:
      hasEmpty in interface GetResponseOrBuilder
      Returns:
      Whether the empty field is set.
    • getEmpty

      public com.google.protobuf.Empty getEmpty()
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
      Specified by:
      getEmpty in interface GetResponseOrBuilder
      Returns:
      The empty.
    • setEmpty

      public GetResponse.Builder setEmpty(com.google.protobuf.Empty value)
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
    • setEmpty

      public GetResponse.Builder setEmpty(com.google.protobuf.Empty.Builder builderForValue)
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
    • mergeEmpty

      public GetResponse.Builder mergeEmpty(com.google.protobuf.Empty value)
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
    • clearEmpty

      public GetResponse.Builder clearEmpty()
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
    • getEmptyBuilder

      public com.google.protobuf.Empty.Builder getEmptyBuilder()
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
    • getEmptyOrBuilder

      public com.google.protobuf.EmptyOrBuilder getEmptyOrBuilder()
      If no object is found for the given key, this field is set
      
      .google.protobuf.Empty empty = 2 [json_name = "empty"];
      Specified by:
      getEmptyOrBuilder in interface GetResponseOrBuilder