Class InstanceInfoResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceInfoResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceInfoResponse.Builder>
com.soulfiremc.grpc.generated.InstanceInfoResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceInfoResponseOrBuilder, Cloneable
Enclosing class:
InstanceInfoResponse

public static final class InstanceInfoResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceInfoResponse.Builder> implements InstanceInfoResponseOrBuilder
Response for GetInstanceInfo containing either full info or a not-modified status.
Protobuf type soulfire.v1.InstanceInfoResponse
  • 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<InstanceInfoResponse.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<InstanceInfoResponse.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<InstanceInfoResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

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

      public InstanceInfoResponse.ResultCase getResultCase()
      Specified by:
      getResultCase in interface InstanceInfoResponseOrBuilder
    • clearResult

      public InstanceInfoResponse.Builder clearResult()
    • hasInfo

      public boolean hasInfo()
      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
      Specified by:
      hasInfo in interface InstanceInfoResponseOrBuilder
      Returns:
      Whether the info field is set.
    • getInfo

      public InstanceInfo getInfo()
      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
      Specified by:
      getInfo in interface InstanceInfoResponseOrBuilder
      Returns:
      The info.
    • setInfo

      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
    • setInfo

      public InstanceInfoResponse.Builder setInfo(InstanceInfo.Builder builderForValue)
      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
    • mergeInfo

      public InstanceInfoResponse.Builder mergeInfo(InstanceInfo value)
      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
    • clearInfo

      public InstanceInfoResponse.Builder clearInfo()
      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
    • getInfoBuilder

      public InstanceInfo.Builder getInfoBuilder()
      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
    • getInfoOrBuilder

      public InstanceInfoOrBuilder getInfoOrBuilder()
      Full instance information when the config has been modified
      or no if_modified_since was provided.
      
      .soulfire.v1.InstanceInfo info = 1;
      Specified by:
      getInfoOrBuilder in interface InstanceInfoResponseOrBuilder
    • hasNotModified

      public boolean hasNotModified()
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
      Specified by:
      hasNotModified in interface InstanceInfoResponseOrBuilder
      Returns:
      Whether the notModified field is set.
    • getNotModified

      public InstanceNotModified getNotModified()
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
      Specified by:
      getNotModified in interface InstanceInfoResponseOrBuilder
      Returns:
      The notModified.
    • setNotModified

      public InstanceInfoResponse.Builder setNotModified(InstanceNotModified value)
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
    • setNotModified

      public InstanceInfoResponse.Builder setNotModified(InstanceNotModified.Builder builderForValue)
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
    • mergeNotModified

      public InstanceInfoResponse.Builder mergeNotModified(InstanceNotModified value)
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
    • clearNotModified

      public InstanceInfoResponse.Builder clearNotModified()
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
    • getNotModifiedBuilder

      public InstanceNotModified.Builder getNotModifiedBuilder()
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
    • getNotModifiedOrBuilder

      public InstanceNotModifiedOrBuilder getNotModifiedOrBuilder()
      Returned when the config has not changed since if_modified_since.
      
      .soulfire.v1.InstanceNotModified not_modified = 2;
      Specified by:
      getNotModifiedOrBuilder in interface InstanceInfoResponseOrBuilder