Class CustomCanaryDeployment (1.35.0)

public final class CustomCanaryDeployment extends GeneratedMessageV3 implements CustomCanaryDeploymentOrBuilder

CustomCanaryDeployment represents the custom canary deployment configuration.

Protobuf type google.cloud.deploy.v1.CustomCanaryDeployment

Static Fields

PHASE_CONFIGS_FIELD_NUMBER

public static final int PHASE_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomCanaryDeployment getDefaultInstance()
Returns
TypeDescription
CustomCanaryDeployment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CustomCanaryDeployment.Builder newBuilder()
Returns
TypeDescription
CustomCanaryDeployment.Builder

newBuilder(CustomCanaryDeployment prototype)

public static CustomCanaryDeployment.Builder newBuilder(CustomCanaryDeployment prototype)
Parameter
NameDescription
prototypeCustomCanaryDeployment
Returns
TypeDescription
CustomCanaryDeployment.Builder

parseDelimitedFrom(InputStream input)

public static CustomCanaryDeployment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomCanaryDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CustomCanaryDeployment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomCanaryDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomCanaryDeployment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomCanaryDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomCanaryDeployment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomCanaryDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CustomCanaryDeployment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomCanaryDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CustomCanaryDeployment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomCanaryDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomCanaryDeployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CustomCanaryDeployment> parser()
Returns
TypeDescription
Parser<CustomCanaryDeployment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CustomCanaryDeployment getDefaultInstanceForType()
Returns
TypeDescription
CustomCanaryDeployment

getParserForType()

public Parser<CustomCanaryDeployment> getParserForType()
Returns
TypeDescription
Parser<CustomCanaryDeployment>
Overrides

getPhaseConfigs(int index)

public CustomCanaryDeployment.PhaseConfig getPhaseConfigs(int index)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomCanaryDeployment.PhaseConfig

getPhaseConfigsCount()

public int getPhaseConfigsCount()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getPhaseConfigsList()

public List<CustomCanaryDeployment.PhaseConfig> getPhaseConfigsList()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<PhaseConfig>

getPhaseConfigsOrBuilder(int index)

public CustomCanaryDeployment.PhaseConfigOrBuilder getPhaseConfigsOrBuilder(int index)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomCanaryDeployment.PhaseConfigOrBuilder

getPhaseConfigsOrBuilderList()

public List<? extends CustomCanaryDeployment.PhaseConfigOrBuilder> getPhaseConfigsOrBuilderList()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CustomCanaryDeployment.Builder newBuilderForType()
Returns
TypeDescription
CustomCanaryDeployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomCanaryDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CustomCanaryDeployment.Builder toBuilder()
Returns
TypeDescription
CustomCanaryDeployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException