Class ReportResponse (1.14.0)

public final class ReportResponse extends GeneratedMessageV3 implements ReportResponseOrBuilder

Response message for the Report method.

Protobuf type google.api.servicecontrol.v1.ReportResponse

Static Fields

REPORT_ERRORS_FIELD_NUMBER

public static final int REPORT_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_CONFIG_ID_FIELD_NUMBER

public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ROLLOUT_ID_FIELD_NUMBER

public static final int SERVICE_ROLLOUT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportResponse getDefaultInstance()
Returns
TypeDescription
ReportResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReportResponse.Builder newBuilder()
Returns
TypeDescription
ReportResponse.Builder

newBuilder(ReportResponse prototype)

public static ReportResponse.Builder newBuilder(ReportResponse prototype)
Parameter
NameDescription
prototypeReportResponse
Returns
TypeDescription
ReportResponse.Builder

parseDelimitedFrom(InputStream input)

public static ReportResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReportResponse> parser()
Returns
TypeDescription
Parser<ReportResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReportResponse getDefaultInstanceForType()
Returns
TypeDescription
ReportResponse

getParserForType()

public Parser<ReportResponse> getParserForType()
Returns
TypeDescription
Parser<ReportResponse>
Overrides

getReportErrors(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportResponse.ReportError

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
List<ReportError>

getReportErrorsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportResponse.ReportErrorOrBuilder

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;

Returns
TypeDescription
List<? extends com.google.api.servicecontrol.v1.ReportResponse.ReportErrorOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceConfigId()

public String getServiceConfigId()

The actual config id used to process the request.

string service_config_id = 2;

Returns
TypeDescription
String

The serviceConfigId.

getServiceConfigIdBytes()

public ByteString getServiceConfigIdBytes()

The actual config id used to process the request.

string service_config_id = 2;

Returns
TypeDescription
ByteString

The bytes for serviceConfigId.

getServiceRolloutId()

public String getServiceRolloutId()

The current service rollout id used to process the request.

string service_rollout_id = 4;

Returns
TypeDescription
String

The serviceRolloutId.

getServiceRolloutIdBytes()

public ByteString getServiceRolloutIdBytes()

The current service rollout id used to process the request.

string service_rollout_id = 4;

Returns
TypeDescription
ByteString

The bytes for serviceRolloutId.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReportResponse.Builder newBuilderForType()
Returns
TypeDescription
ReportResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReportResponse.Builder toBuilder()
Returns
TypeDescription
ReportResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException