public static final class SecretEnvVar.Builder extends GeneratedMessage.Builder<SecretEnvVar.Builder> implements SecretEnvVarOrBuilderRepresents an environment variable where the value is a secret in Cloud Secret Manager.
Protobuf type google.cloud.aiplatform.v1beta1.SecretEnvVar
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecretEnvVar.BuilderImplements
SecretEnvVarOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SecretEnvVar build()| Returns | |
|---|---|
| Type | Description |
SecretEnvVar |
|
buildPartial()
public SecretEnvVar buildPartial()| Returns | |
|---|---|
| Type | Description |
SecretEnvVar |
|
clear()
public SecretEnvVar.Builder clear()| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|
clearName()
public SecretEnvVar.Builder clearName()Required. Name of the secret environment variable.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
This builder for chaining. |
clearSecretRef()
public SecretEnvVar.Builder clearSecretRef()Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|
getDefaultInstanceForType()
public SecretEnvVar getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecretEnvVar |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Name of the secret environment variable.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of the secret environment variable.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSecretRef()
public SecretRef getSecretRef()Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecretRef |
The secretRef. |
getSecretRefBuilder()
public SecretRef.Builder getSecretRefBuilder()Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecretRef.Builder |
|
getSecretRefOrBuilder()
public SecretRefOrBuilder getSecretRefOrBuilder()Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecretRefOrBuilder |
|
hasSecretRef()
public boolean hasSecretRef()Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the secretRef field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SecretEnvVar other)
public SecretEnvVar.Builder mergeFrom(SecretEnvVar other)| Parameter | |
|---|---|
| Name | Description |
other |
SecretEnvVar |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecretEnvVar.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecretEnvVar.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|
mergeSecretRef(SecretRef value)
public SecretEnvVar.Builder mergeSecretRef(SecretRef value)Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SecretRef |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|
setName(String value)
public SecretEnvVar.Builder setName(String value)Required. Name of the secret environment variable.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SecretEnvVar.Builder setNameBytes(ByteString value)Required. Name of the secret environment variable.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
This builder for chaining. |
setSecretRef(SecretRef value)
public SecretEnvVar.Builder setSecretRef(SecretRef value)Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SecretRef |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|
setSecretRef(SecretRef.Builder builderForValue)
public SecretEnvVar.Builder setSecretRef(SecretRef.Builder builderForValue)Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
.google.cloud.aiplatform.v1beta1.SecretRef secret_ref = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SecretRef.Builder |
| Returns | |
|---|---|
| Type | Description |
SecretEnvVar.Builder |
|