Class HydratedDeployment.Builder (0.11.0)

public static final class HydratedDeployment.Builder extends GeneratedMessageV3.Builder<HydratedDeployment.Builder> implements HydratedDeploymentOrBuilder

A collection of kubernetes yaml files which are deployed on a Workload Cluster. Hydrated Deployments are created by TNA intent based automation.

Protobuf type google.cloud.telcoautomation.v1.HydratedDeployment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFiles(Iterable<? extends File> values)

public HydratedDeployment.Builder addAllFiles(Iterable<? extends File> values)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.telcoautomation.v1.File>
Returns
TypeDescription
HydratedDeployment.Builder

addFiles(File value)

public HydratedDeployment.Builder addFiles(File value)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueFile
Returns
TypeDescription
HydratedDeployment.Builder

addFiles(File.Builder builderForValue)

public HydratedDeployment.Builder addFiles(File.Builder builderForValue)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueFile.Builder
Returns
TypeDescription
HydratedDeployment.Builder

addFiles(int index, File value)

public HydratedDeployment.Builder addFiles(int index, File value)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueFile
Returns
TypeDescription
HydratedDeployment.Builder

addFiles(int index, File.Builder builderForValue)

public HydratedDeployment.Builder addFiles(int index, File.Builder builderForValue)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueFile.Builder
Returns
TypeDescription
HydratedDeployment.Builder

addFilesBuilder()

public File.Builder addFilesBuilder()

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
File.Builder

addFilesBuilder(int index)

public File.Builder addFilesBuilder(int index)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
File.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HydratedDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

build()

public HydratedDeployment build()
Returns
TypeDescription
HydratedDeployment

buildPartial()

public HydratedDeployment buildPartial()
Returns
TypeDescription
HydratedDeployment

clear()

public HydratedDeployment.Builder clear()
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HydratedDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

clearFiles()

public HydratedDeployment.Builder clearFiles()

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
HydratedDeployment.Builder

clearName()

public HydratedDeployment.Builder clearName()

Output only. The name of the hydrated deployment.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HydratedDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

clearState()

public HydratedDeployment.Builder clearState()

Output only. State of the hydrated deployment (DRAFT, APPLIED).

.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

clearWorkloadCluster()

public HydratedDeployment.Builder clearWorkloadCluster()

Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on.

string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

clone()

public HydratedDeployment.Builder clone()
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

getDefaultInstanceForType()

public HydratedDeployment getDefaultInstanceForType()
Returns
TypeDescription
HydratedDeployment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFiles(int index)

public File getFiles(int index)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
File

getFilesBuilder(int index)

public File.Builder getFilesBuilder(int index)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
File.Builder

getFilesBuilderList()

public List<File.Builder> getFilesBuilderList()

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Builder>

getFilesCount()

public int getFilesCount()

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getFilesList()

public List<File> getFilesList()

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<File>

getFilesOrBuilder(int index)

public FileOrBuilder getFilesOrBuilder(int index)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
FileOrBuilder

getFilesOrBuilderList()

public List<? extends FileOrBuilder> getFilesOrBuilderList()

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.telcoautomation.v1.FileOrBuilder>

getName()

public String getName()

Output only. The name of the hydrated deployment.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the hydrated deployment.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getState()

public HydratedDeployment.State getState()

Output only. State of the hydrated deployment (DRAFT, APPLIED).

.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
HydratedDeployment.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the hydrated deployment (DRAFT, APPLIED).

.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getWorkloadCluster()

public String getWorkloadCluster()

Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on.

string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The workloadCluster.

getWorkloadClusterBytes()

public ByteString getWorkloadClusterBytes()

Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on.

string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for workloadCluster.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HydratedDeployment other)

public HydratedDeployment.Builder mergeFrom(HydratedDeployment other)
Parameter
NameDescription
otherHydratedDeployment
Returns
TypeDescription
HydratedDeployment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HydratedDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HydratedDeployment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HydratedDeployment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HydratedDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

removeFiles(int index)

public HydratedDeployment.Builder removeFiles(int index)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
HydratedDeployment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HydratedDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

setFiles(int index, File value)

public HydratedDeployment.Builder setFiles(int index, File value)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueFile
Returns
TypeDescription
HydratedDeployment.Builder

setFiles(int index, File.Builder builderForValue)

public HydratedDeployment.Builder setFiles(int index, File.Builder builderForValue)

Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.

repeated .google.cloud.telcoautomation.v1.File files = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueFile.Builder
Returns
TypeDescription
HydratedDeployment.Builder

setName(String value)

public HydratedDeployment.Builder setName(String value)

Output only. The name of the hydrated deployment.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public HydratedDeployment.Builder setNameBytes(ByteString value)

Output only. The name of the hydrated deployment.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HydratedDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

setState(HydratedDeployment.State value)

public HydratedDeployment.Builder setState(HydratedDeployment.State value)

Output only. State of the hydrated deployment (DRAFT, APPLIED).

.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueHydratedDeployment.State

The state to set.

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

setStateValue(int value)

public HydratedDeployment.Builder setStateValue(int value)

Output only. State of the hydrated deployment (DRAFT, APPLIED).

.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HydratedDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HydratedDeployment.Builder
Overrides

setWorkloadCluster(String value)

public HydratedDeployment.Builder setWorkloadCluster(String value)

Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on.

string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The workloadCluster to set.

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.

setWorkloadClusterBytes(ByteString value)

public HydratedDeployment.Builder setWorkloadClusterBytes(ByteString value)

Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on.

string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for workloadCluster to set.

Returns
TypeDescription
HydratedDeployment.Builder

This builder for chaining.