public final class CustomCanaryDeployment extends GeneratedMessageV3 implements CustomCanaryDeploymentOrBuilder
CustomCanaryDeployment represents the custom canary deployment configuration.
Protobuf type google.cloud.deploy.v1.CustomCanaryDeployment
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomCanaryDeploymentImplements
CustomCanaryDeploymentOrBuilderStatic Fields
PHASE_CONFIGS_FIELD_NUMBER
public static final int PHASE_CONFIGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CustomCanaryDeployment getDefaultInstance()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CustomCanaryDeployment.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.Builder |
newBuilder(CustomCanaryDeployment prototype)
public static CustomCanaryDeployment.Builder newBuilder(CustomCanaryDeployment prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CustomCanaryDeployment |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.Builder |
parseDelimitedFrom(InputStream input)
public static CustomCanaryDeployment parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomCanaryDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CustomCanaryDeployment parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomCanaryDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CustomCanaryDeployment parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomCanaryDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CustomCanaryDeployment parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomCanaryDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CustomCanaryDeployment parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomCanaryDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CustomCanaryDeployment parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomCanaryDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CustomCanaryDeployment> parser()
Returns | |
---|---|
Type | Description |
Parser<CustomCanaryDeployment> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CustomCanaryDeployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment |
getParserForType()
public Parser<CustomCanaryDeployment> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CustomCanaryDeployment> |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
List<? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CustomCanaryDeployment.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomCanaryDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CustomCanaryDeployment.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |