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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HydratedDeployment.BuilderImplements
HydratedDeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.telcoautomation.v1.File> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | File |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | File.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | File |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | File.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
File.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HydratedDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
build()
public HydratedDeployment build()
Returns | |
---|---|
Type | Description |
HydratedDeployment |
buildPartial()
public HydratedDeployment buildPartial()
Returns | |
---|---|
Type | Description |
HydratedDeployment |
clear()
public HydratedDeployment.Builder clear()
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
clearField(Descriptors.FieldDescriptor field)
public HydratedDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
HydratedDeployment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HydratedDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
HydratedDeployment.Builder | This builder for chaining. |
clone()
public HydratedDeployment.Builder clone()
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
getDefaultInstanceForType()
public HydratedDeployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HydratedDeployment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for workloadCluster. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(HydratedDeployment other)
public HydratedDeployment.Builder mergeFrom(HydratedDeployment other)
Parameter | |
---|---|
Name | Description |
other | HydratedDeployment |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HydratedDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HydratedDeployment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HydratedDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HydratedDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | File |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | File.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
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 | |
---|---|
Name | Description |
value | HydratedDeployment.State The state to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HydratedDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder |
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 | |
---|---|
Name | Description |
value | String The workloadCluster to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for workloadCluster to set. |
Returns | |
---|---|
Type | Description |
HydratedDeployment.Builder | This builder for chaining. |