Package com.google.api.servicecontrol.v2
Class CheckResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
com.google.api.servicecontrol.v2.CheckResponse.Builder
- All Implemented Interfaces:
CheckResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CheckResponse
public static final class CheckResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
implements CheckResponseOrBuilder
Response message for the Check method.Protobuf type
google.api.servicecontrol.v2.CheckResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Operation is allowed when this field is not set.booleancontainsHeaders(String key) Returns a set of request contexts generated from the `CheckRequest`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intReturns a set of request contexts generated from the `CheckRequest`.Returns a set of request contexts generated from the `CheckRequest`.getHeadersOrDefault(String key, String defaultValue) Returns a set of request contexts generated from the `CheckRequest`.getHeadersOrThrow(String key) Returns a set of request contexts generated from the `CheckRequest`.Deprecated.Operation is allowed when this field is not set.Operation is allowed when this field is not set.Operation is allowed when this field is not set.booleanOperation is allowed when this field is not set.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(CheckResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStatus(Status value) Operation is allowed when this field is not set.putAllHeaders(Map<String, String> values) Returns a set of request contexts generated from the `CheckRequest`.putHeaders(String key, String value) Returns a set of request contexts generated from the `CheckRequest`.removeHeaders(String key) Returns a set of request contexts generated from the `CheckRequest`.Operation is allowed when this field is not set.setStatus(Status.Builder builderForValue) Operation is allowed when this field is not set.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
mergeFrom
public CheckResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>- Throws:
IOException
-
hasStatus
public boolean hasStatus()Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1;- Specified by:
hasStatusin interfaceCheckResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1;- Specified by:
getStatusin interfaceCheckResponseOrBuilder- Returns:
- The status.
-
setStatus
Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1; -
setStatus
Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1; -
mergeStatus
Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1; -
clearStatus
Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1; -
getStatusBuilder
Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1; -
getStatusOrBuilder
Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] would contain additional details about the denial.
.google.rpc.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceCheckResponseOrBuilder
-
getHeadersCount
public int getHeadersCount()Description copied from interface:CheckResponseOrBuilderReturns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2;- Specified by:
getHeadersCountin interfaceCheckResponseOrBuilder
-
containsHeaders
Returns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2;- Specified by:
containsHeadersin interfaceCheckResponseOrBuilder
-
getHeaders
Deprecated.UsegetHeadersMap()instead.- Specified by:
getHeadersin interfaceCheckResponseOrBuilder
-
getHeadersMap
Returns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2;- Specified by:
getHeadersMapin interfaceCheckResponseOrBuilder
-
getHeadersOrDefault
Returns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2;- Specified by:
getHeadersOrDefaultin interfaceCheckResponseOrBuilder
-
getHeadersOrThrow
Returns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2;- Specified by:
getHeadersOrThrowin interfaceCheckResponseOrBuilder
-
clearHeaders
-
removeHeaders
Returns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2; -
getMutableHeaders
Deprecated.Use alternate mutation accessors instead. -
putHeaders
Returns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2; -
putAllHeaders
Returns a set of request contexts generated from the `CheckRequest`.
map<string, string> headers = 2;
-