Class HydratedDeployment (0.16.0)

public final class HydratedDeployment extends GeneratedMessageV3 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 Fields

FILES_FIELD_NUMBER

public static final int FILES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

WORKLOAD_CLUSTER_FIELD_NUMBER

public static final int WORKLOAD_CLUSTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HydratedDeployment getDefaultInstance()
Returns
Type Description
HydratedDeployment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HydratedDeployment.Builder newBuilder()
Returns
Type Description
HydratedDeployment.Builder

newBuilder(HydratedDeployment prototype)

public static HydratedDeployment.Builder newBuilder(HydratedDeployment prototype)
Parameter
Name Description
prototype HydratedDeployment
Returns
Type Description
HydratedDeployment.Builder

parseDelimitedFrom(InputStream input)

public static HydratedDeployment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HydratedDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HydratedDeployment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HydratedDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HydratedDeployment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HydratedDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HydratedDeployment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HydratedDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HydratedDeployment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HydratedDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HydratedDeployment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HydratedDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HydratedDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HydratedDeployment> parser()
Returns
Type Description
Parser<HydratedDeployment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HydratedDeployment getDefaultInstanceForType()
Returns
Type Description
HydratedDeployment

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

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.

getParserForType()

public Parser<HydratedDeployment> getParserForType()
Returns
Type Description
Parser<HydratedDeployment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HydratedDeployment.Builder newBuilderForType()
Returns
Type Description
HydratedDeployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HydratedDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HydratedDeployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HydratedDeployment.Builder toBuilder()
Returns
Type Description
HydratedDeployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException