Class TargetsTypeCondition (1.35.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
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetsTypeCondition getDefaultInstance()
Returns
TypeDescription
TargetsTypeCondition

getDescriptor()

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

newBuilder()

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

newBuilder(TargetsTypeCondition prototype)

public static TargetsTypeCondition.Builder newBuilder(TargetsTypeCondition prototype)
Parameter
NameDescription
prototypeTargetsTypeCondition
Returns
TypeDescription
TargetsTypeCondition.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetsTypeCondition getDefaultInstanceForType()
Returns
TypeDescription
TargetsTypeCondition

getErrorDetails()

public String getErrorDetails()

Human readable error message.

string error_details = 2;

Returns
TypeDescription
String

The errorDetails.

getErrorDetailsBytes()

public ByteString getErrorDetailsBytes()

Human readable error message.

string error_details = 2;

Returns
TypeDescription
ByteString

The bytes for errorDetails.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

The status.

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 TargetsTypeCondition.Builder newBuilderForType()
Returns
TypeDescription
TargetsTypeCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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