Class DeploymentSpec (0.68.0)

public final class DeploymentSpec extends GeneratedMessage implements DeploymentSpecOrBuilder

Spec for a deployment to be created.

Protobuf type google.cloud.config.v1.DeploymentSpec

Static Fields

DEPLOYMENT_FIELD_NUMBER

public static final int DEPLOYMENT_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_ID_FIELD_NUMBER

public static final int DEPLOYMENT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentSpec getDefaultInstance()
Returns
Type Description
DeploymentSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeploymentSpec getDefaultInstanceForType()
Returns
Type Description
DeploymentSpec

getDeployment()

public Deployment getDeployment()

Required. The deployment to be created.

.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Deployment

The deployment.

getDeploymentId()

public String getDeploymentId()

Required. The id of the deployment to be created which doesn't include the project id and location.

string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The deploymentId.

getDeploymentIdBytes()

public ByteString getDeploymentIdBytes()

Required. The id of the deployment to be created which doesn't include the project id and location.

string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for deploymentId.

getDeploymentOrBuilder()

public DeploymentOrBuilder getDeploymentOrBuilder()

Required. The deployment to be created.

.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeploymentOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDeployment()

public boolean hasDeployment()

Required. The deployment to be created.

.google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deployment field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DeploymentSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeploymentSpec.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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