Class ReportResponse

  • All Implemented Interfaces:
    ReportResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ReportResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements ReportResponseOrBuilder
     Response message for the Report method.
     
    Protobuf type google.api.servicecontrol.v1.ReportResponse
    See Also:
    Serialized Form
    • Field Detail

      • REPORT_ERRORS_FIELD_NUMBER

        public static final int REPORT_ERRORS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_CONFIG_ID_FIELD_NUMBER

        public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_ROLLOUT_ID_FIELD_NUMBER

        public static final int SERVICE_ROLLOUT_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getReportErrorsList

        public List<ReportResponse.ReportError> getReportErrorsList()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsList in interface ReportResponseOrBuilder
      • getReportErrorsOrBuilderList

        public List<? extends ReportResponse.ReportErrorOrBuilder> getReportErrorsOrBuilderList()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsOrBuilderList in interface ReportResponseOrBuilder
      • getReportErrorsCount

        public int getReportErrorsCount()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsCount in interface ReportResponseOrBuilder
      • getReportErrors

        public ReportResponse.ReportError getReportErrors​(int index)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrors in interface ReportResponseOrBuilder
      • getReportErrorsOrBuilder

        public ReportResponse.ReportErrorOrBuilder getReportErrorsOrBuilder​(int index)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsOrBuilder in interface ReportResponseOrBuilder
      • getServiceConfigId

        public String getServiceConfigId()
         The actual config id used to process the request.
         
        string service_config_id = 2;
        Specified by:
        getServiceConfigId in interface ReportResponseOrBuilder
        Returns:
        The serviceConfigId.
      • getServiceConfigIdBytes

        public com.google.protobuf.ByteString getServiceConfigIdBytes()
         The actual config id used to process the request.
         
        string service_config_id = 2;
        Specified by:
        getServiceConfigIdBytes in interface ReportResponseOrBuilder
        Returns:
        The bytes for serviceConfigId.
      • getServiceRolloutId

        public String getServiceRolloutId()
         The current service rollout id used to process the request.
         
        string service_rollout_id = 4;
        Specified by:
        getServiceRolloutId in interface ReportResponseOrBuilder
        Returns:
        The serviceRolloutId.
      • getServiceRolloutIdBytes

        public com.google.protobuf.ByteString getServiceRolloutIdBytes()
         The current service rollout id used to process the request.
         
        string service_rollout_id = 4;
        Specified by:
        getServiceRolloutIdBytes in interface ReportResponseOrBuilder
        Returns:
        The bytes for serviceRolloutId.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ReportResponse parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReportResponse parseFrom​(ByteBuffer data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReportResponse parseFrom​(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReportResponse parseFrom​(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReportResponse parseFrom​(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReportResponse parseFrom​(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReportResponse parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ReportResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ReportResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ReportResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static ReportResponse getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<ReportResponse> parser()
      • getParserForType

        public com.google.protobuf.Parser<ReportResponse> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ReportResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder