Package com.google.api.servicecontrol.v1
Class CheckResponse.CheckInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CheckResponse.CheckInfo.Builder>
com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder
- All Implemented Interfaces:
CheckResponse.CheckInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CheckResponse.CheckInfo
public static final class CheckResponse.CheckInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CheckResponse.CheckInfo.Builder>
implements CheckResponse.CheckInfoOrBuilder
Contains additional information about the check operation.Protobuf type
google.api.servicecontrol.v1.CheckResponse.CheckInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnusedArguments(Iterable<String> values) A list of fields and label keys that are ignored by the server.addUnusedArguments(String value) A list of fields and label keys that are ignored by the server.addUnusedArgumentsBytes(com.google.protobuf.ByteString value) A list of fields and label keys that are ignored by the server.build()clear()The unique id of the api key in the format of "apikey:<UID>".Consumer info of this check.A list of fields and label keys that are ignored by the server.The unique id of the api key in the format of "apikey:<UID>".com.google.protobuf.ByteStringThe unique id of the api key in the format of "apikey:<UID>".Consumer info of this check.Consumer info of this check.Consumer info of this check.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetUnusedArguments(int index) A list of fields and label keys that are ignored by the server.com.google.protobuf.ByteStringgetUnusedArgumentsBytes(int index) A list of fields and label keys that are ignored by the server.intA list of fields and label keys that are ignored by the server.com.google.protobuf.ProtocolStringListA list of fields and label keys that are ignored by the server.booleanConsumer info of this check.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanConsumer info of this check.mergeFrom(CheckResponse.CheckInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setApiKeyUid(String value) The unique id of the api key in the format of "apikey:<UID>".setApiKeyUidBytes(com.google.protobuf.ByteString value) The unique id of the api key in the format of "apikey:<UID>".Consumer info of this check.setConsumerInfo(CheckResponse.ConsumerInfo.Builder builderForValue) Consumer info of this check.setUnusedArguments(int index, String value) A list of fields and label keys that are ignored by the server.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.CheckInfo.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.CheckInfo.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.CheckInfo.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.CheckInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.CheckInfo.Builder>
-
mergeFrom
public CheckResponse.CheckInfo.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.CheckInfo.Builder>- Throws:
IOException
-
getUnusedArgumentsList
public com.google.protobuf.ProtocolStringList getUnusedArgumentsList()A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Specified by:
getUnusedArgumentsListin interfaceCheckResponse.CheckInfoOrBuilder- Returns:
- A list containing the unusedArguments.
-
getUnusedArgumentsCount
public int getUnusedArgumentsCount()A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Specified by:
getUnusedArgumentsCountin interfaceCheckResponse.CheckInfoOrBuilder- Returns:
- The count of unusedArguments.
-
getUnusedArguments
A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Specified by:
getUnusedArgumentsin interfaceCheckResponse.CheckInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unusedArguments at the given index.
-
getUnusedArgumentsBytes
public com.google.protobuf.ByteString getUnusedArgumentsBytes(int index) A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Specified by:
getUnusedArgumentsBytesin interfaceCheckResponse.CheckInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unusedArguments at the given index.
-
setUnusedArguments
A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Parameters:
index- The index to set the value at.value- The unusedArguments to set.- Returns:
- This builder for chaining.
-
addUnusedArguments
A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Parameters:
value- The unusedArguments to add.- Returns:
- This builder for chaining.
-
addAllUnusedArguments
A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Parameters:
values- The unusedArguments to add.- Returns:
- This builder for chaining.
-
clearUnusedArguments
A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Returns:
- This builder for chaining.
-
addUnusedArgumentsBytes
public CheckResponse.CheckInfo.Builder addUnusedArgumentsBytes(com.google.protobuf.ByteString value) A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.
repeated string unused_arguments = 1;- Parameters:
value- The bytes of the unusedArguments to add.- Returns:
- This builder for chaining.
-
hasConsumerInfo
public boolean hasConsumerInfo()Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;- Specified by:
hasConsumerInfoin interfaceCheckResponse.CheckInfoOrBuilder- Returns:
- Whether the consumerInfo field is set.
-
getConsumerInfo
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;- Specified by:
getConsumerInfoin interfaceCheckResponse.CheckInfoOrBuilder- Returns:
- The consumerInfo.
-
setConsumerInfo
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; -
setConsumerInfo
public CheckResponse.CheckInfo.Builder setConsumerInfo(CheckResponse.ConsumerInfo.Builder builderForValue) Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; -
mergeConsumerInfo
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; -
clearConsumerInfo
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; -
getConsumerInfoBuilder
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; -
getConsumerInfoOrBuilder
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;- Specified by:
getConsumerInfoOrBuilderin interfaceCheckResponse.CheckInfoOrBuilder
-
getApiKeyUid
The unique id of the api key in the format of "apikey:<UID>". This field will be populated when the consumer passed to Service Control is an API key and all the API key related validations are successful.
string api_key_uid = 5;- Specified by:
getApiKeyUidin interfaceCheckResponse.CheckInfoOrBuilder- Returns:
- The apiKeyUid.
-
getApiKeyUidBytes
public com.google.protobuf.ByteString getApiKeyUidBytes()The unique id of the api key in the format of "apikey:<UID>". This field will be populated when the consumer passed to Service Control is an API key and all the API key related validations are successful.
string api_key_uid = 5;- Specified by:
getApiKeyUidBytesin interfaceCheckResponse.CheckInfoOrBuilder- Returns:
- The bytes for apiKeyUid.
-
setApiKeyUid
The unique id of the api key in the format of "apikey:<UID>". This field will be populated when the consumer passed to Service Control is an API key and all the API key related validations are successful.
string api_key_uid = 5;- Parameters:
value- The apiKeyUid to set.- Returns:
- This builder for chaining.
-
clearApiKeyUid
The unique id of the api key in the format of "apikey:<UID>". This field will be populated when the consumer passed to Service Control is an API key and all the API key related validations are successful.
string api_key_uid = 5;- Returns:
- This builder for chaining.
-
setApiKeyUidBytes
The unique id of the api key in the format of "apikey:<UID>". This field will be populated when the consumer passed to Service Control is an API key and all the API key related validations are successful.
string api_key_uid = 5;- Parameters:
value- The bytes for apiKeyUid to set.- Returns:
- This builder for chaining.
-