Class Rpc.Status.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Rpc.StatusOrBuilder, java.lang.Cloneable
    Enclosing class:
    Rpc.Status

    public static final class Rpc.Status.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Rpc.Status.Builder>
    implements Rpc.StatusOrBuilder
     * Response to a message ingest 
     
    Protobuf type Status
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Rpc.Status build()  
      Rpc.Status buildPartial()  
      Rpc.Status.Builder clear()  
      Rpc.Status.Builder clearStatus()
      * Status code: 200 - OK - the request was processed and is ingested 400 - Bad request - the request was missing some key parts 404 - Not found - the entity or attribute not found in the settings 412 - Not acceptable - the message has unknown format (unable to validate the scheme) 502 - Bad gateway - cannot connect to the target storage 504 - Gateway timeout - the request timed out
      Rpc.Status.Builder clearStatusMessage()
      * Textual information for the event.
      Rpc.Status.Builder clearUuid()
      * The UUID of the original ingest request
      Rpc.Status getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      int getStatus()
      * Status code: 200 - OK - the request was processed and is ingested 400 - Bad request - the request was missing some key parts 404 - Not found - the entity or attribute not found in the settings 412 - Not acceptable - the message has unknown format (unable to validate the scheme) 502 - Bad gateway - cannot connect to the target storage 504 - Gateway timeout - the request timed out
      java.lang.String getStatusMessage()
      * Textual information for the event.
      com.google.protobuf.ByteString getStatusMessageBytes()
      * Textual information for the event.
      java.lang.String getUuid()
      * The UUID of the original ingest request
      com.google.protobuf.ByteString getUuidBytes()
      * The UUID of the original ingest request
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Rpc.Status.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Rpc.Status.Builder mergeFrom​(com.google.protobuf.Message other)  
      Rpc.Status.Builder mergeFrom​(Rpc.Status other)  
      Rpc.Status.Builder setStatus​(int value)
      * Status code: 200 - OK - the request was processed and is ingested 400 - Bad request - the request was missing some key parts 404 - Not found - the entity or attribute not found in the settings 412 - Not acceptable - the message has unknown format (unable to validate the scheme) 502 - Bad gateway - cannot connect to the target storage 504 - Gateway timeout - the request timed out
      Rpc.Status.Builder setStatusMessage​(java.lang.String value)
      * Textual information for the event.
      Rpc.Status.Builder setStatusMessageBytes​(com.google.protobuf.ByteString value)
      * Textual information for the event.
      Rpc.Status.Builder setUuid​(java.lang.String value)
      * The UUID of the original ingest request
      Rpc.Status.Builder setUuidBytes​(com.google.protobuf.ByteString value)
      * The UUID of the original ingest request
      • 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 java.lang.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 Detail

      • 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<Rpc.Status.Builder>
      • clear

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

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

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

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

        public Rpc.Status.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<Rpc.Status.Builder>
      • isInitialized

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

        public Rpc.Status.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws java.io.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<Rpc.Status.Builder>
        Throws:
        java.io.IOException
      • getUuid

        public java.lang.String getUuid()
         * The UUID of the original ingest request 
         
        string uuid = 1;
        Specified by:
        getUuid in interface Rpc.StatusOrBuilder
        Returns:
        The uuid.
      • getUuidBytes

        public com.google.protobuf.ByteString getUuidBytes()
         * The UUID of the original ingest request 
         
        string uuid = 1;
        Specified by:
        getUuidBytes in interface Rpc.StatusOrBuilder
        Returns:
        The bytes for uuid.
      • setUuid

        public Rpc.Status.Builder setUuid​(java.lang.String value)
         * The UUID of the original ingest request 
         
        string uuid = 1;
        Parameters:
        value - The uuid to set.
        Returns:
        This builder for chaining.
      • clearUuid

        public Rpc.Status.Builder clearUuid()
         * The UUID of the original ingest request 
         
        string uuid = 1;
        Returns:
        This builder for chaining.
      • setUuidBytes

        public Rpc.Status.Builder setUuidBytes​(com.google.protobuf.ByteString value)
         * The UUID of the original ingest request 
         
        string uuid = 1;
        Parameters:
        value - The bytes for uuid to set.
        Returns:
        This builder for chaining.
      • getStatus

        public int getStatus()
         * Status code:
         200 - OK - the request was processed and is ingested
         400 - Bad request - the request was missing some key parts
         404 - Not found - the entity or attribute not found in the settings
         412 - Not acceptable - the message has unknown format (unable to validate the scheme)
         502 - Bad gateway - cannot connect to the target storage
         504 - Gateway timeout - the request timed out
         
        uint32 status = 2;
        Specified by:
        getStatus in interface Rpc.StatusOrBuilder
        Returns:
        The status.
      • setStatus

        public Rpc.Status.Builder setStatus​(int value)
         * Status code:
         200 - OK - the request was processed and is ingested
         400 - Bad request - the request was missing some key parts
         404 - Not found - the entity or attribute not found in the settings
         412 - Not acceptable - the message has unknown format (unable to validate the scheme)
         502 - Bad gateway - cannot connect to the target storage
         504 - Gateway timeout - the request timed out
         
        uint32 status = 2;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Rpc.Status.Builder clearStatus()
         * Status code:
         200 - OK - the request was processed and is ingested
         400 - Bad request - the request was missing some key parts
         404 - Not found - the entity or attribute not found in the settings
         412 - Not acceptable - the message has unknown format (unable to validate the scheme)
         502 - Bad gateway - cannot connect to the target storage
         504 - Gateway timeout - the request timed out
         
        uint32 status = 2;
        Returns:
        This builder for chaining.
      • getStatusMessage

        public java.lang.String getStatusMessage()
         *
         Textual information for the event. Might be missing for 200 OK.
         Contains error message if any error occurs
         
        string statusMessage = 3;
        Specified by:
        getStatusMessage in interface Rpc.StatusOrBuilder
        Returns:
        The statusMessage.
      • getStatusMessageBytes

        public com.google.protobuf.ByteString getStatusMessageBytes()
         *
         Textual information for the event. Might be missing for 200 OK.
         Contains error message if any error occurs
         
        string statusMessage = 3;
        Specified by:
        getStatusMessageBytes in interface Rpc.StatusOrBuilder
        Returns:
        The bytes for statusMessage.
      • setStatusMessage

        public Rpc.Status.Builder setStatusMessage​(java.lang.String value)
         *
         Textual information for the event. Might be missing for 200 OK.
         Contains error message if any error occurs
         
        string statusMessage = 3;
        Parameters:
        value - The statusMessage to set.
        Returns:
        This builder for chaining.
      • clearStatusMessage

        public Rpc.Status.Builder clearStatusMessage()
         *
         Textual information for the event. Might be missing for 200 OK.
         Contains error message if any error occurs
         
        string statusMessage = 3;
        Returns:
        This builder for chaining.
      • setStatusMessageBytes

        public Rpc.Status.Builder setStatusMessageBytes​(com.google.protobuf.ByteString value)
         *
         Textual information for the event. Might be missing for 200 OK.
         Contains error message if any error occurs
         
        string statusMessage = 3;
        Parameters:
        value - The bytes for statusMessage to set.
        Returns:
        This builder for chaining.