Class TargetsPresentCondition (0.16.0)

public final class TargetsPresentCondition extends GeneratedMessageV3 implements TargetsPresentConditionOrBuilder

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

Protobuf type google.events.cloud.deploy.v1.TargetsPresentCondition

Static Fields

MISSING_TARGETS_FIELD_NUMBER

public static final int MISSING_TARGETS_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TargetsPresentCondition getDefaultInstance()
Returns
Type Description
TargetsPresentCondition

getDescriptor()

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

newBuilder()

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

newBuilder(TargetsPresentCondition prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetsPresentCondition getDefaultInstanceForType()
Returns
Type Description
TargetsPresentCondition

getMissingTargets(int index)

public String getMissingTargets(int index)

The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The missingTargets at the given index.

getMissingTargetsBytes(int index)

public ByteString getMissingTargetsBytes(int index)

The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the missingTargets at the given index.

getMissingTargetsCount()

public int getMissingTargetsCount()

The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2;

Returns
Type Description
int

The count of missingTargets.

getMissingTargetsList()

public ProtocolStringList getMissingTargetsList()

The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.

repeated string missing_targets = 2;

Returns
Type Description
ProtocolStringList

A list containing the missingTargets.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public boolean getStatus()

True if there aren't any missing Targets.

bool status = 1;

Returns
Type Description
boolean

The status.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
boolean

Whether the updateTime field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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