- 1.49.0 (latest)
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class ReportRequest.Builder extends GeneratedMessageV3.Builder<ReportRequest.Builder> implements ReportRequestOrBuilder
Request message for the Report method.
Protobuf type google.api.servicecontrol.v1.ReportRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReportRequest.BuilderImplements
ReportRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllOperations(Iterable<? extends Operation> values)
public ReportRequest.Builder addAllOperations(Iterable<? extends Operation> values)
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.api.servicecontrol.v1.Operation> |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
addOperations(Operation value)
public ReportRequest.Builder addOperations(Operation value)
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
value |
Operation |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
addOperations(Operation.Builder builderForValue)
public ReportRequest.Builder addOperations(Operation.Builder builderForValue)
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Operation.Builder |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
addOperations(int index, Operation value)
public ReportRequest.Builder addOperations(int index, Operation value)
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Operation |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
addOperations(int index, Operation.Builder builderForValue)
public ReportRequest.Builder addOperations(int index, Operation.Builder builderForValue)
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Operation.Builder |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
addOperationsBuilder()
public Operation.Builder addOperationsBuilder()
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Returns | |
---|---|
Type | Description |
Operation.Builder |
addOperationsBuilder(int index)
public Operation.Builder addOperationsBuilder(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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Operation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
build()
public ReportRequest build()
Returns | |
---|---|
Type | Description |
ReportRequest |
buildPartial()
public ReportRequest buildPartial()
Returns | |
---|---|
Type | Description |
ReportRequest |
clear()
public ReportRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReportRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
clearOperations()
public ReportRequest.Builder clearOperations()
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
clearServiceConfigId()
public ReportRequest.Builder clearServiceConfigId()
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 | |
---|---|
Type | Description |
ReportRequest.Builder |
This builder for chaining. |
clearServiceName()
public ReportRequest.Builder clearServiceName()
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
This builder for chaining. |
clone()
public ReportRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
getDefaultInstanceForType()
public ReportRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReportRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getOperations(int index)
public 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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Operation |
getOperationsBuilder(int index)
public Operation.Builder getOperationsBuilder(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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Operation.Builder |
getOperationsBuilderList()
public List<Operation.Builder> getOperationsBuilderList()
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Returns | |
---|---|
Type | Description |
List<Builder> |
getOperationsCount()
public 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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Returns | |
---|---|
Type | Description |
int |
getOperationsList()
public 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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Returns | |
---|---|
Type | Description |
List<Operation> |
getOperationsOrBuilder(int index)
public 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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
OperationOrBuilder |
getOperationsOrBuilderList()
public 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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.api.servicecontrol.v1.OperationOrBuilder> |
getServiceConfigId()
public 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 | |
---|---|
Type | Description |
String |
The serviceConfigId. |
getServiceConfigIdBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for serviceConfigId. |
getServiceName()
public String getServiceName()
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Returns | |
---|---|
Type | Description |
String |
The serviceName. |
getServiceNameBytes()
public ByteString getServiceNameBytes()
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for serviceName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ReportRequest other)
public ReportRequest.Builder mergeFrom(ReportRequest other)
Parameter | |
---|---|
Name | Description |
other |
ReportRequest |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReportRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
removeOperations(int index)
public ReportRequest.Builder removeOperations(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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReportRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
setOperations(int index, Operation value)
public ReportRequest.Builder setOperations(int index, Operation value)
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Operation |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
setOperations(int index, Operation.Builder builderForValue)
public ReportRequest.Builder setOperations(int index, Operation.Builder builderForValue)
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 for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Operation.Builder |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
setServiceConfigId(String value)
public ReportRequest.Builder setServiceConfigId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The serviceConfigId to set. |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
This builder for chaining. |
setServiceConfigIdBytes(ByteString value)
public ReportRequest.Builder setServiceConfigIdBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceConfigId to set. |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
This builder for chaining. |
setServiceName(String value)
public ReportRequest.Builder setServiceName(String value)
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The serviceName to set. |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
This builder for chaining. |
setServiceNameBytes(ByteString value)
public ReportRequest.Builder setServiceNameBytes(ByteString value)
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceName to set. |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportRequest.Builder |