- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.8
- 2.5.3
- 2.4.4
- 2.3.1
public static final class AutokeyConfig.Builder extends GeneratedMessageV3.Builder<AutokeyConfig.Builder> implements AutokeyConfigOrBuilder
Cloud KMS Autokey configuration for a folder.
Protobuf type google.cloud.kms.v1.AutokeyConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutokeyConfig.BuilderImplements
AutokeyConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutokeyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
build()
public AutokeyConfig build()
Returns | |
---|---|
Type | Description |
AutokeyConfig |
buildPartial()
public AutokeyConfig buildPartial()
Returns | |
---|---|
Type | Description |
AutokeyConfig |
clear()
public AutokeyConfig.Builder clear()
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutokeyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
clearKeyProject()
public AutokeyConfig.Builder clearKeyProject()
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
CryptoKey when a
KeyHandle is created. On
UpdateAutokeyConfig,
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
string key_project = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
clearName()
public AutokeyConfig.Builder clearName()
Identifier. Name of the AutokeyConfig
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutokeyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
clearState()
public AutokeyConfig.Builder clearState()
Output only. The state for the AutokeyConfig.
.google.cloud.kms.v1.AutokeyConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
clone()
public AutokeyConfig.Builder clone()
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
getDefaultInstanceForType()
public AutokeyConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutokeyConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKeyProject()
public String getKeyProject()
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
CryptoKey when a
KeyHandle is created. On
UpdateAutokeyConfig,
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
string key_project = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The keyProject. |
getKeyProjectBytes()
public ByteString getKeyProjectBytes()
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
CryptoKey when a
KeyHandle is created. On
UpdateAutokeyConfig,
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
string key_project = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for keyProject. |
getName()
public String getName()
Identifier. Name of the AutokeyConfig
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of the AutokeyConfig
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getState()
public AutokeyConfig.State getState()
Output only. The state for the AutokeyConfig.
.google.cloud.kms.v1.AutokeyConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutokeyConfig.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The state for the AutokeyConfig.
.google.cloud.kms.v1.AutokeyConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AutokeyConfig other)
public AutokeyConfig.Builder mergeFrom(AutokeyConfig other)
Parameter | |
---|---|
Name | Description |
other |
AutokeyConfig |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutokeyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutokeyConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutokeyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutokeyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
setKeyProject(String value)
public AutokeyConfig.Builder setKeyProject(String value)
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
CryptoKey when a
KeyHandle is created. On
UpdateAutokeyConfig,
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
string key_project = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The keyProject to set. |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
setKeyProjectBytes(ByteString value)
public AutokeyConfig.Builder setKeyProjectBytes(ByteString value)
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
CryptoKey when a
KeyHandle is created. On
UpdateAutokeyConfig,
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
string key_project = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for keyProject to set. |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
setName(String value)
public AutokeyConfig.Builder setName(String value)
Identifier. Name of the AutokeyConfig
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AutokeyConfig.Builder setNameBytes(ByteString value)
Identifier. Name of the AutokeyConfig
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutokeyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
setState(AutokeyConfig.State value)
public AutokeyConfig.Builder setState(AutokeyConfig.State value)
Output only. The state for the AutokeyConfig.
.google.cloud.kms.v1.AutokeyConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AutokeyConfig.State The state to set. |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
setStateValue(int value)
public AutokeyConfig.Builder setStateValue(int value)
Output only. The state for the AutokeyConfig.
.google.cloud.kms.v1.AutokeyConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutokeyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutokeyConfig.Builder |