public static final class RetrieveLegacySecretKeyRequest.Builder extends GeneratedMessageV3.Builder<RetrieveLegacySecretKeyRequest.Builder> implements RetrieveLegacySecretKeyRequestOrBuilder
The retrieve legacy secret key request message.
Protobuf type google.cloud.recaptchaenterprise.v1.RetrieveLegacySecretKeyRequest
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 RetrieveLegacySecretKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RetrieveLegacySecretKeyRequest build()
Returns
buildPartial()
public RetrieveLegacySecretKeyRequest buildPartial()
Returns
clear()
public RetrieveLegacySecretKeyRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RetrieveLegacySecretKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKey()
public RetrieveLegacySecretKeyRequest.Builder clearKey()
Required. The public key name linked to the requested secret key in the
format "projects/{project}/keys/{key}".
string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RetrieveLegacySecretKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public RetrieveLegacySecretKeyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RetrieveLegacySecretKeyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getKey()
Required. The public key name linked to the requested secret key in the
format "projects/{project}/keys/{key}".
string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getKeyBytes()
public ByteString getKeyBytes()
Required. The public key name linked to the requested secret key in the
format "projects/{project}/keys/{key}".
string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public RetrieveLegacySecretKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RetrieveLegacySecretKeyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(RetrieveLegacySecretKeyRequest other)
public RetrieveLegacySecretKeyRequest.Builder mergeFrom(RetrieveLegacySecretKeyRequest other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveLegacySecretKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RetrieveLegacySecretKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setKey(String value)
public RetrieveLegacySecretKeyRequest.Builder setKey(String value)
Required. The public key name linked to the requested secret key in the
format "projects/{project}/keys/{key}".
string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The key to set.
|
Returns
setKeyBytes(ByteString value)
public RetrieveLegacySecretKeyRequest.Builder setKeyBytes(ByteString value)
Required. The public key name linked to the requested secret key in the
format "projects/{project}/keys/{key}".
string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for key to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RetrieveLegacySecretKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveLegacySecretKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides