Class HydratedDeployment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HydratedDeployment.Builder>
com.google.cloud.telcoautomation.v1.HydratedDeployment.Builder
- All Implemented Interfaces:
HydratedDeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HydratedDeployment
public static final class HydratedDeployment.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllFiles(Iterable<? extends File> values) Optional.Optional.addFiles(int index, File.Builder builderForValue) Optional.Optional.addFiles(File.Builder builderForValue) Optional.Optional.addFilesBuilder(int index) Optional.build()clear()Optional.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFiles(int index) Optional.getFilesBuilder(int index) Optional.Optional.intOptional.Optional.getFilesOrBuilder(int index) Optional.List<? extends FileOrBuilder>Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(HydratedDeployment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFiles(int index) Optional.Optional.setFiles(int index, File.Builder builderForValue) Optional.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setState(HydratedDeployment.State value) Output only.setStateValue(int value) Output only.setWorkloadCluster(String value) Output only.setWorkloadClusterBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HydratedDeployment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HydratedDeployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HydratedDeployment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HydratedDeployment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HydratedDeployment.Builder>
-
mergeFrom
public HydratedDeployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HydratedDeployment.Builder>- Throws:
IOException
-
getName
Output only. The name of the hydrated deployment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceHydratedDeploymentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The name of the hydrated deployment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceHydratedDeploymentOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The name of the hydrated deployment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The name of the hydrated deployment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The name of the hydrated deployment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceHydratedDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the hydrated deployment (DRAFT, APPLIED).
.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the hydrated deployment (DRAFT, APPLIED).
.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceHydratedDeploymentOrBuilder- Returns:
- The state.
-
setState
Output only. State of the hydrated deployment (DRAFT, APPLIED).
.google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getFilesListin interfaceHydratedDeploymentOrBuilder
-
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];- Specified by:
getFilesCountin interfaceHydratedDeploymentOrBuilder
-
getFiles
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];- Specified by:
getFilesin interfaceHydratedDeploymentOrBuilder
-
setFiles
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]; -
setFiles
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]; -
addFiles
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]; -
addFiles
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]; -
addFiles
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]; -
addFiles
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]; -
addAllFiles
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]; -
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]; -
removeFiles
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]; -
getFilesBuilder
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]; -
getFilesOrBuilder
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];- Specified by:
getFilesOrBuilderin interfaceHydratedDeploymentOrBuilder
-
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];- Specified by:
getFilesOrBuilderListin interfaceHydratedDeploymentOrBuilder
-
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]; -
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]; -
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]; -
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];- Specified by:
getWorkloadClusterin interfaceHydratedDeploymentOrBuilder- Returns:
- The workloadCluster.
-
getWorkloadClusterBytes
public com.google.protobuf.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];- Specified by:
getWorkloadClusterBytesin interfaceHydratedDeploymentOrBuilder- Returns:
- The bytes for workloadCluster.
-
setWorkloadCluster
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];- Parameters:
value- The workloadCluster to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setWorkloadClusterBytes
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];- Parameters:
value- The bytes for workloadCluster to set.- Returns:
- This builder for chaining.
-