Class ExternalValueSource (0.68.0)

public final class ExternalValueSource extends GeneratedMessage implements ExternalValueSourceOrBuilder

Configuration for a source of an external value.

Protobuf type google.cloud.config.v1.ExternalValueSource

Static Fields

DEPLOYMENT_SOURCE_FIELD_NUMBER

public static final int DEPLOYMENT_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExternalValueSource getDefaultInstance()
Returns
Type Description
ExternalValueSource

getDescriptor()

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

newBuilder()

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

newBuilder(ExternalValueSource prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExternalValueSource getDefaultInstanceForType()
Returns
Type Description
ExternalValueSource

getDeploymentSource()

public DeploymentSource getDeploymentSource()

A source from a Deployment.

.google.cloud.config.v1.DeploymentSource deployment_source = 1;

Returns
Type Description
DeploymentSource

The deploymentSource.

getDeploymentSourceOrBuilder()

public DeploymentSourceOrBuilder getDeploymentSourceOrBuilder()

A source from a Deployment.

.google.cloud.config.v1.DeploymentSource deployment_source = 1;

Returns
Type Description
DeploymentSourceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public ExternalValueSource.SourceCase getSourceCase()
Returns
Type Description
ExternalValueSource.SourceCase

hasDeploymentSource()

public boolean hasDeploymentSource()

A source from a Deployment.

.google.cloud.config.v1.DeploymentSource deployment_source = 1;

Returns
Type Description
boolean

Whether the deploymentSource 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 ExternalValueSource.Builder newBuilderForType()
Returns
Type Description
ExternalValueSource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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