public static final class DeploymentSource.Builder extends GeneratedMessage.Builder<DeploymentSource.Builder> implements DeploymentSourceOrBuilderConfiguration for a value sourced from a Deployment.
Protobuf type google.cloud.config.v1.DeploymentSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeploymentSource.BuilderImplements
DeploymentSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeploymentSource build()| Returns | |
|---|---|
| Type | Description |
DeploymentSource |
|
buildPartial()
public DeploymentSource buildPartial()| Returns | |
|---|---|
| Type | Description |
DeploymentSource |
|
clear()
public DeploymentSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
|
clearDeployment()
public DeploymentSource.Builder clearDeployment()Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.
string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
This builder for chaining. |
clearOutputName()
public DeploymentSource.Builder clearOutputName()Required. The name of the output variable in the source deployment's latest successfully applied revision.
string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeploymentSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeploymentSource |
|
getDeployment()
public String getDeployment()Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.
string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The deployment. |
getDeploymentBytes()
public ByteString getDeploymentBytes()Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.
string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployment. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOutputName()
public String getOutputName()Required. The name of the output variable in the source deployment's latest successfully applied revision.
string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The outputName. |
getOutputNameBytes()
public ByteString getOutputNameBytes()Required. The name of the output variable in the source deployment's latest successfully applied revision.
string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for outputName. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeploymentSource other)
public DeploymentSource.Builder mergeFrom(DeploymentSource other)| Parameter | |
|---|---|
| Name | Description |
other |
DeploymentSource |
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeploymentSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
|
setDeployment(String value)
public DeploymentSource.Builder setDeployment(String value)Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.
string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deployment to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
This builder for chaining. |
setDeploymentBytes(ByteString value)
public DeploymentSource.Builder setDeploymentBytes(ByteString value)Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.
string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deployment to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
This builder for chaining. |
setOutputName(String value)
public DeploymentSource.Builder setOutputName(String value)Required. The name of the output variable in the source deployment's latest successfully applied revision.
string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe outputName to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
This builder for chaining. |
setOutputNameBytes(ByteString value)
public DeploymentSource.Builder setOutputNameBytes(ByteString value)Required. The name of the output variable in the source deployment's latest successfully applied revision.
string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for outputName to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentSource.Builder |
This builder for chaining. |