public static final class DeploymentSpec.Builder extends GeneratedMessage.Builder<DeploymentSpec.Builder> implements DeploymentSpecOrBuilderSpec for a deployment to be created.
Protobuf type google.cloud.config.v1.DeploymentSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeploymentSpec.BuilderImplements
DeploymentSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeploymentSpec build()| Returns | |
|---|---|
| Type | Description |
DeploymentSpec |
|
buildPartial()
public DeploymentSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
DeploymentSpec |
|
clear()
public DeploymentSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
clearDeployment()
public DeploymentSpec.Builder clearDeployment()Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
clearDeploymentId()
public DeploymentSpec.Builder clearDeploymentId()Required. The id of the deployment to be created which doesn't include the project id and location.
string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeploymentSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeploymentSpec |
|
getDeployment()
public Deployment getDeployment()Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Deployment |
The deployment. |
getDeploymentBuilder()
public Deployment.Builder getDeploymentBuilder()Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
getDeploymentId()
public String getDeploymentId()Required. The id of the deployment to be created which doesn't include the project id and location.
string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The deploymentId. |
getDeploymentIdBytes()
public ByteString getDeploymentIdBytes()Required. The id of the deployment to be created which doesn't include the project id and location.
string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deploymentId. |
getDeploymentOrBuilder()
public DeploymentOrBuilder getDeploymentOrBuilder()Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasDeployment()
public boolean hasDeployment()Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deployment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeployment(Deployment value)
public DeploymentSpec.Builder mergeDeployment(Deployment value)Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Deployment |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
mergeFrom(DeploymentSpec other)
public DeploymentSpec.Builder mergeFrom(DeploymentSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
DeploymentSpec |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeploymentSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
setDeployment(Deployment value)
public DeploymentSpec.Builder setDeployment(Deployment value)Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Deployment |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
setDeployment(Deployment.Builder builderForValue)
public DeploymentSpec.Builder setDeployment(Deployment.Builder builderForValue)Required. The deployment to be created.
.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Deployment.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
|
setDeploymentId(String value)
public DeploymentSpec.Builder setDeploymentId(String value)Required. The id of the deployment to be created which doesn't include the project id and location.
string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deploymentId to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
This builder for chaining. |
setDeploymentIdBytes(ByteString value)
public DeploymentSpec.Builder setDeploymentIdBytes(ByteString value)Required. The id of the deployment to be created which doesn't include the project id and location.
string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deploymentId to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentSpec.Builder |
This builder for chaining. |