public final class CheckResponse extends GeneratedMessageV3 implements CheckResponseOrBuilder
Response message for the Check method.
Protobuf type google.api.servicecontrol.v2.CheckResponse
Static Fields
public static final int HEADERS_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CheckResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CheckResponse.Builder newBuilder()
Returns
newBuilder(CheckResponse prototype)
public static CheckResponse.Builder newBuilder(CheckResponse prototype)
Parameter
Returns
public static CheckResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CheckResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CheckResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CheckResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CheckResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CheckResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CheckResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CheckResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CheckResponse> parser()
Returns
Methods
public boolean containsHeaders(String key)
Returns a set of request contexts generated from the CheckRequest
.
map<string, string> headers = 2;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CheckResponse getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<CheckResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
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 | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CheckResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CheckResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CheckResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions