public static final class CheckResponse.Builder extends GeneratedMessageV3.Builder<CheckResponse.Builder> implements CheckResponseOrBuilder
Response message for the Check method.
Protobuf type google.api.servicecontrol.v2.CheckResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CheckResponse build()
Returns
buildPartial()
public CheckResponse buildPartial()
Returns
clear()
public CheckResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CheckResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CheckResponse.Builder clearHeaders()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStatus()
public CheckResponse.Builder clearStatus()
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Returns
clone()
public CheckResponse.Builder clone()
Returns
Overrides
public boolean containsHeaders(String key)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter
Returns
getDefaultInstanceForType()
public CheckResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,String> getHeaders()
Returns
public int getHeadersCount()
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Returns
public Map<String,String> getHeadersMap()
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Returns
public String getHeadersOrDefault(String key, String defaultValue)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameters
Returns
public String getHeadersOrThrow(String key)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter
Returns
public Map<String,String> getMutableHeaders()
Use alternate mutation accessors instead.
Returns
getStatus()
public Status getStatus()
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Returns
Type | Description |
com.google.rpc.Status | The status.
|
getStatusBuilder()
public Status.Builder getStatusBuilder()
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Returns
Type | Description |
com.google.rpc.Status.Builder | |
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
hasStatus()
public boolean hasStatus()
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Returns
Type | Description |
boolean | Whether the status field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CheckResponse other)
public CheckResponse.Builder mergeFrom(CheckResponse other)
Parameter
Returns
public CheckResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CheckResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStatus(Status value)
public CheckResponse.Builder mergeStatus(Status value)
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Parameter
Name | Description |
value | com.google.rpc.Status
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CheckResponse.Builder putAllHeaders(Map<String,String> values)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter
Returns
public CheckResponse.Builder putHeaders(String key, String value)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameters
Returns
public CheckResponse.Builder removeHeaders(String key)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStatus(Status value)
public CheckResponse.Builder setStatus(Status value)
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Parameter
Name | Description |
value | com.google.rpc.Status
|
Returns
setStatus(Status.Builder builderForValue)
public CheckResponse.Builder setStatus(Status.Builder builderForValue)
Operation is allowed when this field is not set. Any non-'OK' status
indicates a denial; google.rpc.Status.details
would contain additional details about the denial.
.google.rpc.Status status = 1;
Parameter
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides