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
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TargetsPresentCondition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TargetsPresentCondition.Builder newBuilder()
Returns
newBuilder(TargetsPresentCondition prototype)
public static TargetsPresentCondition.Builder newBuilder(TargetsPresentCondition prototype)
Parameter
Returns
public static TargetsPresentCondition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetsPresentCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TargetsPresentCondition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TargetsPresentCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TargetsPresentCondition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TargetsPresentCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetsPresentCondition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TargetsPresentCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetsPresentCondition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetsPresentCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TargetsPresentCondition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TargetsPresentCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TargetsPresentCondition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TargetsPresentCondition getDefaultInstanceForType()
Returns
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
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 are missing. For example,
projects/{project_id}/locations/{location_name}/targets/{target_name}.
repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... }
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 are missing. For example,
projects/{project_id}/locations/{location_name}/targets/{target_name}.
repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
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
getParserForType()
public Parser<TargetsPresentCondition> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStatus()
public boolean getStatus()
True if there aren't any missing Targets.
bool status = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TargetsPresentCondition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TargetsPresentCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TargetsPresentCondition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions