public static final class GKEDeploymentTarget.Builder extends GeneratedMessage.Builder<GKEDeploymentTarget.Builder> implements GKEDeploymentTargetOrBuilderThe GKE deployment target.
Protobuf type google.cloud.designcenter.v1.GKEDeploymentTarget
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GKEDeploymentTarget.BuilderImplements
GKEDeploymentTargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GKEDeploymentTarget build()| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget |
|
buildPartial()
public GKEDeploymentTarget buildPartial()| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget |
|
clear()
public GKEDeploymentTarget.Builder clear()| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
|
clearClusterSelfLink()
public GKEDeploymentTarget.Builder clearClusterSelfLink()Required. The self link of the cluster where GKE based application is deployed.
string cluster_self_link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
clearKubernetesServiceAccount()
public GKEDeploymentTarget.Builder clearKubernetesServiceAccount()Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa
string kubernetes_service_account = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
clearKubernetesServiceAccountCreation()
public GKEDeploymentTarget.Builder clearKubernetesServiceAccountCreation()Optional. Whether to create the provided KSA. If true, the KSA will be created in the namespace provided above. If false, the KSA is expected to already exist in the namespace provided above.
bool kubernetes_service_account_creation = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
clearNamespace()
public GKEDeploymentTarget.Builder clearNamespace()Required. The namespace where the application is deployed.
string namespace = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
getClusterSelfLink()
public String getClusterSelfLink()Required. The self link of the cluster where GKE based application is deployed.
string cluster_self_link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The clusterSelfLink. |
getClusterSelfLinkBytes()
public ByteString getClusterSelfLinkBytes()Required. The self link of the cluster where GKE based application is deployed.
string cluster_self_link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clusterSelfLink. |
getDefaultInstanceForType()
public GKEDeploymentTarget getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKubernetesServiceAccount()
public String getKubernetesServiceAccount()Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa
string kubernetes_service_account = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The kubernetesServiceAccount. |
getKubernetesServiceAccountBytes()
public ByteString getKubernetesServiceAccountBytes()Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa
string kubernetes_service_account = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kubernetesServiceAccount. |
getKubernetesServiceAccountCreation()
public boolean getKubernetesServiceAccountCreation()Optional. Whether to create the provided KSA. If true, the KSA will be created in the namespace provided above. If false, the KSA is expected to already exist in the namespace provided above.
bool kubernetes_service_account_creation = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The kubernetesServiceAccountCreation. |
getNamespace()
public String getNamespace()Required. The namespace where the application is deployed.
string namespace = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The namespace. |
getNamespaceBytes()
public ByteString getNamespaceBytes()Required. The namespace where the application is deployed.
string namespace = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for namespace. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GKEDeploymentTarget other)
public GKEDeploymentTarget.Builder mergeFrom(GKEDeploymentTarget other)| Parameter | |
|---|---|
| Name | Description |
other |
GKEDeploymentTarget |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GKEDeploymentTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GKEDeploymentTarget.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
|
setClusterSelfLink(String value)
public GKEDeploymentTarget.Builder setClusterSelfLink(String value)Required. The self link of the cluster where GKE based application is deployed.
string cluster_self_link = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clusterSelfLink to set. |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
setClusterSelfLinkBytes(ByteString value)
public GKEDeploymentTarget.Builder setClusterSelfLinkBytes(ByteString value)Required. The self link of the cluster where GKE based application is deployed.
string cluster_self_link = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clusterSelfLink to set. |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
setKubernetesServiceAccount(String value)
public GKEDeploymentTarget.Builder setKubernetesServiceAccount(String value)Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa
string kubernetes_service_account = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kubernetesServiceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
setKubernetesServiceAccountBytes(ByteString value)
public GKEDeploymentTarget.Builder setKubernetesServiceAccountBytes(ByteString value)Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa
string kubernetes_service_account = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kubernetesServiceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
setKubernetesServiceAccountCreation(boolean value)
public GKEDeploymentTarget.Builder setKubernetesServiceAccountCreation(boolean value)Optional. Whether to create the provided KSA. If true, the KSA will be created in the namespace provided above. If false, the KSA is expected to already exist in the namespace provided above.
bool kubernetes_service_account_creation = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe kubernetesServiceAccountCreation to set. |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
setNamespace(String value)
public GKEDeploymentTarget.Builder setNamespace(String value)Required. The namespace where the application is deployed.
string namespace = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe namespace to set. |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |
setNamespaceBytes(ByteString value)
public GKEDeploymentTarget.Builder setNamespaceBytes(ByteString value)Required. The namespace where the application is deployed.
string namespace = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for namespace to set. |
| Returns | |
|---|---|
| Type | Description |
GKEDeploymentTarget.Builder |
This builder for chaining. |