Class DeploymentSource (0.68.0)

public final class DeploymentSource extends GeneratedMessage implements DeploymentSourceOrBuilder

Configuration for a value sourced from a Deployment.

Protobuf type google.cloud.config.v1.DeploymentSource

Static Fields

DEPLOYMENT_FIELD_NUMBER

public static final int DEPLOYMENT_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_NAME_FIELD_NUMBER

public static final int OUTPUT_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentSource getDefaultInstance()
Returns
Type Description
DeploymentSource

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentSource prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeploymentSource getDefaultInstanceForType()
Returns
Type Description
DeploymentSource

getDeployment()

public String getDeployment()

Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.

string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The deployment.

getDeploymentBytes()

public ByteString getDeploymentBytes()

Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.

string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for deployment.

getOutputName()

public String getOutputName()

Required. The name of the output variable in the source deployment's latest successfully applied revision.

string output_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The outputName.

getOutputNameBytes()

public ByteString getOutputNameBytes()

Required. The name of the output variable in the source deployment's latest successfully applied revision.

string output_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for outputName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 DeploymentSource.Builder newBuilderForType()
Returns
Type Description
DeploymentSource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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