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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CheckResponse build()
buildPartial()
public CheckResponse buildPartial()
clear()
public CheckResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CheckResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CheckResponse.Builder clearHeaders()
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public CheckResponse.Builder clone()
Overrides
public boolean containsHeaders(String key)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public CheckResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,String> getHeaders()
public int getHeadersCount()
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Returns |
---|
Type | Description |
int | |
public Map<String,String> getHeadersMap()
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
public String getHeadersOrDefault(String key, String defaultValue)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
public String getHeadersOrThrow(String key)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter |
---|
Name | Description |
key | String
|
public Map<String,String> getMutableHeaders()
Use alternate mutation accessors instead.
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()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CheckResponse other)
public CheckResponse.Builder mergeFrom(CheckResponse other)
public CheckResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CheckResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CheckResponse.Builder putAllHeaders(Map<String,String> values)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
public CheckResponse.Builder putHeaders(String key, String value)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
public CheckResponse.Builder removeHeaders(String key)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides