public static final class Parameter.Builder extends GeneratedMessage.Builder<Parameter.Builder> implements ParameterOrBuilderMessage describing Parameter resource
Protobuf type google.cloud.parametermanager.v1.Parameter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Parameter.BuilderImplements
ParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Parameter build()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
buildPartial()
public Parameter buildPartial()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
clear()
public Parameter.Builder clear()| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
clearCreateTime()
public Parameter.Builder clearCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
clearFormat()
public Parameter.Builder clearFormat()Optional. Specifies the format of a Parameter.
.google.cloud.parametermanager.v1.ParameterFormat format = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
clearKmsKey()
public Parameter.Builder clearKmsKey() Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
clearLabels()
public Parameter.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
clearName()
public Parameter.Builder clearName() Identifier. [Output only] The resource name of the Parameter in the format
projects/*/locations/*/parameters/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
clearPolicyMember()
public Parameter.Builder clearPolicyMember()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
clearTags()
public Parameter.Builder clearTags()| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
clearUpdateTime()
public Parameter.Builder clearUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsTags(String key)
public boolean containsTags(String key) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public Timestamp getCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFormat()
public ParameterFormat getFormat()Optional. Specifies the format of a Parameter.
.google.cloud.parametermanager.v1.ParameterFormat format = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParameterFormat |
The format. |
getFormatValue()
public int getFormatValue()Optional. Specifies the format of a Parameter.
.google.cloud.parametermanager.v1.ParameterFormat format = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for format. |
getKmsKey()
public String getKmsKey() Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKey. |
getKmsKeyBytes()
public ByteString getKmsKeyBytes() Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKey. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableTags() (deprecated)
public Map<String,String> getMutableTags()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName() Identifier. [Output only] The resource name of the Parameter in the format
projects/*/locations/*/parameters/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. [Output only] The resource name of the Parameter in the format
projects/*/locations/*/parameters/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPolicyMember()
public ResourcePolicyMember getPolicyMember()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.iam.v1.ResourcePolicyMember |
The policyMember. |
getPolicyMemberBuilder()
public ResourcePolicyMember.Builder getPolicyMemberBuilder()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.iam.v1.ResourcePolicyMember.Builder |
|
getPolicyMemberOrBuilder()
public ResourcePolicyMemberOrBuilder getPolicyMemberOrBuilder()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.iam.v1.ResourcePolicyMemberOrBuilder |
|
getTags() (deprecated)
public Map<String,String> getTags()Use #getTagsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsCount()
public int getTagsCount() Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTagsMap()
public Map<String,String> getTagsMap() Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsOrDefault(String key, String defaultValue)
public String getTagsOrDefault(String key, String defaultValue) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getTagsOrThrow(String key)
public String getTagsOrThrow(String key) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getUpdateTime()
public Timestamp getUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasKmsKey()
public boolean hasKmsKey() Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kmsKey field is set. |
hasPolicyMember()
public boolean hasPolicyMember()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the policyMember field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Parameter.Builder mergeCreateTime(Timestamp value)Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergeFrom(Parameter other)
public Parameter.Builder mergeFrom(Parameter other)| Parameter | |
|---|---|
| Name | Description |
other |
Parameter |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Parameter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergePolicyMember(ResourcePolicyMember value)
public Parameter.Builder mergePolicyMember(ResourcePolicyMember value)Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.iam.v1.ResourcePolicyMember |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergeUpdateTime(Timestamp value)
public Parameter.Builder mergeUpdateTime(Timestamp value)Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
putAllLabels(Map<String,String> values)
public Parameter.Builder putAllLabels(Map<String,String> values)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
putAllTags(Map<String,String> values)
public Parameter.Builder putAllTags(Map<String,String> values) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
putLabels(String key, String value)
public Parameter.Builder putLabels(String key, String value)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
putTags(String key, String value)
public Parameter.Builder putTags(String key, String value) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
removeLabels(String key)
public Parameter.Builder removeLabels(String key)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
removeTags(String key)
public Parameter.Builder removeTags(String key) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this Parameter. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
Tags are used to organize and group resources.
Tags can be used to control policy evaluation for the resource.
map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setCreateTime(Timestamp value)
public Parameter.Builder setCreateTime(Timestamp value)Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Parameter.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setFormat(ParameterFormat value)
public Parameter.Builder setFormat(ParameterFormat value)Optional. Specifies the format of a Parameter.
.google.cloud.parametermanager.v1.ParameterFormat format = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ParameterFormatThe format to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setFormatValue(int value)
public Parameter.Builder setFormatValue(int value)Optional. Specifies the format of a Parameter.
.google.cloud.parametermanager.v1.ParameterFormat format = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for format to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setKmsKey(String value)
public Parameter.Builder setKmsKey(String value) Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kmsKey to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setKmsKeyBytes(ByteString value)
public Parameter.Builder setKmsKeyBytes(ByteString value) Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kmsKey to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setName(String value)
public Parameter.Builder setName(String value) Identifier. [Output only] The resource name of the Parameter in the format
projects/*/locations/*/parameters/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Parameter.Builder setNameBytes(ByteString value) Identifier. [Output only] The resource name of the Parameter in the format
projects/*/locations/*/parameters/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setPolicyMember(ResourcePolicyMember value)
public Parameter.Builder setPolicyMember(ResourcePolicyMember value)Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.iam.v1.ResourcePolicyMember |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setPolicyMember(ResourcePolicyMember.Builder builderForValue)
public Parameter.Builder setPolicyMember(ResourcePolicyMember.Builder builderForValue)Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.iam.v1.ResourcePolicyMember.Builder |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setUpdateTime(Timestamp value)
public Parameter.Builder setUpdateTime(Timestamp value)Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Parameter.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|