Class TargetsPresentCondition (1.7.0)

public final class TargetsPresentCondition extends GeneratedMessageV3 implements TargetsPresentConditionOrBuilder

TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist.

Protobuf type google.cloud.deploy.v1.TargetsPresentCondition

Static Fields

MISSING_TARGETS_FIELD_NUMBER

public static final int MISSING_TARGETS_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetsPresentCondition getDefaultInstance()
Returns
TypeDescription
TargetsPresentCondition

getDescriptor()

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

newBuilder()

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

newBuilder(TargetsPresentCondition prototype)

public static TargetsPresentCondition.Builder newBuilder(TargetsPresentCondition prototype)
Parameter
NameDescription
prototypeTargetsPresentCondition
Returns
TypeDescription
TargetsPresentCondition.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetsPresentCondition getDefaultInstanceForType()
Returns
TypeDescription
TargetsPresentCondition

getMissingTargets(int index)

public String getMissingTargets(int index)

The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The missingTargets at the given index.

getMissingTargetsBytes(int index)

public ByteString getMissingTargetsBytes(int index)

The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the missingTargets at the given index.

getMissingTargetsCount()

public int getMissingTargetsCount()

The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of missingTargets.

getMissingTargetsList()

public ProtocolStringList getMissingTargetsList()

The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the missingTargets.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public boolean getStatus()

True if there aren't any missing Targets.

bool status = 1;

Returns
TypeDescription
boolean

The status.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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