Package com.google.api.servicecontrol.v1
Interface ReportRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReportRequest
,ReportRequest.Builder
public interface ReportRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Operation
getOperations(int index)
Operations to be reported.int
getOperationsCount()
Operations to be reported.List<Operation>
getOperationsList()
Operations to be reported.OperationOrBuilder
getOperationsOrBuilder(int index)
Operations to be reported.List<? extends OperationOrBuilder>
getOperationsOrBuilderList()
Operations to be reported.String
getServiceConfigId()
Specifies which version of service config should be used to process the request.com.google.protobuf.ByteString
getServiceConfigIdBytes()
Specifies which version of service config should be used to process the request.String
getServiceName()
The service name as specified in its service configuration.com.google.protobuf.ByteString
getServiceNameBytes()
The service name as specified in its service configuration.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getServiceName
String getServiceName()
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;
- Returns:
- The serviceName.
-
getServiceNameBytes
com.google.protobuf.ByteString getServiceNameBytes()
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;
- Returns:
- The bytes for serviceName.
-
getOperationsList
List<Operation> getOperationsList()
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
-
getOperations
Operation getOperations(int index)
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
-
getOperationsCount
int getOperationsCount()
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
-
getOperationsOrBuilderList
List<? extends OperationOrBuilder> getOperationsOrBuilderList()
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
-
getOperationsOrBuilder
OperationOrBuilder getOperationsOrBuilder(int index)
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
-
getServiceConfigId
String getServiceConfigId()
Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
string service_config_id = 3;
- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
com.google.protobuf.ByteString getServiceConfigIdBytes()
Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
string service_config_id = 3;
- Returns:
- The bytes for serviceConfigId.
-
-