Class TargetsTypeCondition (1.52.0)

public final class TargetsTypeCondition extends GeneratedMessageV3 implements TargetsTypeConditionOrBuilder

TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.

Protobuf type google.cloud.deploy.v1.TargetsTypeCondition

Static Fields

ERROR_DETAILS_FIELD_NUMBER

public static final int ERROR_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TargetsTypeCondition getDefaultInstance()
Returns
Type Description
TargetsTypeCondition

getDescriptor()

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

newBuilder()

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

newBuilder(TargetsTypeCondition prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetsTypeCondition getDefaultInstanceForType()
Returns
Type Description
TargetsTypeCondition

getErrorDetails()

public String getErrorDetails()

Human readable error message.

string error_details = 2;

Returns
Type Description
String

The errorDetails.

getErrorDetailsBytes()

public ByteString getErrorDetailsBytes()

Human readable error message.

string error_details = 2;

Returns
Type Description
ByteString

The bytes for errorDetails.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public boolean getStatus()

True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.

bool status = 1;

Returns
Type Description
boolean

The status.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TargetsTypeCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TargetsTypeCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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