public static final class TargetsPresentCondition.Builder extends GeneratedMessageV3.Builder<TargetsPresentCondition.Builder> implements TargetsPresentConditionOrBuilderTargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist.
Protobuf type google.cloud.deploy.v1.TargetsPresentCondition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TargetsPresentCondition.BuilderImplements
TargetsPresentConditionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addAllMissingTargets(Iterable<String> values)
public TargetsPresentCondition.Builder addAllMissingTargets(Iterable<String> values)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) = { ... }
| Name | Description |
values |
Iterable<String>The missingTargets to add. |
| Type | Description |
TargetsPresentCondition.Builder |
This builder for chaining. |
addMissingTargets(String value)
public TargetsPresentCondition.Builder addMissingTargets(String value)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) = { ... }
| Name | Description |
value |
StringThe missingTargets to add. |
| Type | Description |
TargetsPresentCondition.Builder |
This builder for chaining. |
addMissingTargetsBytes(ByteString value)
public TargetsPresentCondition.Builder addMissingTargetsBytes(ByteString value)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) = { ... }
| Name | Description |
value |
ByteStringThe bytes of the missingTargets to add. |
| Type | Description |
TargetsPresentCondition.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetsPresentCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
TargetsPresentCondition.Builder |
build()
public TargetsPresentCondition build()| Type | Description |
TargetsPresentCondition |
buildPartial()
public TargetsPresentCondition buildPartial()| Type | Description |
TargetsPresentCondition |
clear()
public TargetsPresentCondition.Builder clear()| Type | Description |
TargetsPresentCondition.Builder |
clearField(Descriptors.FieldDescriptor field)
public TargetsPresentCondition.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
TargetsPresentCondition.Builder |
clearMissingTargets()
public TargetsPresentCondition.Builder clearMissingTargets()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) = { ... }
| Type | Description |
TargetsPresentCondition.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetsPresentCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
TargetsPresentCondition.Builder |
clearStatus()
public TargetsPresentCondition.Builder clearStatus()True if there aren't any missing Targets.
bool status = 1;
| Type | Description |
TargetsPresentCondition.Builder |
This builder for chaining. |
clearUpdateTime()
public TargetsPresentCondition.Builder clearUpdateTime()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Type | Description |
TargetsPresentCondition.Builder |
clone()
public TargetsPresentCondition.Builder clone()| Type | Description |
TargetsPresentCondition.Builder |
getDefaultInstanceForType()
public TargetsPresentCondition getDefaultInstanceForType()| Type | Description |
TargetsPresentCondition |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
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) = { ... }
| Name | Description |
index |
intThe index of the element to return. |
| 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) = { ... }
| Name | Description |
index |
intThe index of the value to return. |
| 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) = { ... }
| 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) = { ... }
| Type | Description |
ProtocolStringList |
A list containing the missingTargets. |
getStatus()
public boolean getStatus()True if there aren't any missing Targets.
bool status = 1;
| Type | Description |
boolean |
The status. |
getUpdateTime()
public Timestamp getUpdateTime()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Type | Description |
TimestampOrBuilder |
hasUpdateTime()
public boolean hasUpdateTime()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(TargetsPresentCondition other)
public TargetsPresentCondition.Builder mergeFrom(TargetsPresentCondition other)| Name | Description |
other |
TargetsPresentCondition |
| Type | Description |
TargetsPresentCondition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TargetsPresentCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
TargetsPresentCondition.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public TargetsPresentCondition.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
TargetsPresentCondition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetsPresentCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
TargetsPresentCondition.Builder |
mergeUpdateTime(Timestamp value)
public TargetsPresentCondition.Builder mergeUpdateTime(Timestamp value)Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Name | Description |
value |
Timestamp |
| Type | Description |
TargetsPresentCondition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TargetsPresentCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
TargetsPresentCondition.Builder |
setMissingTargets(int index, String value)
public TargetsPresentCondition.Builder setMissingTargets(int index, String value)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) = { ... }
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe missingTargets to set. |
| Type | Description |
TargetsPresentCondition.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetsPresentCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
TargetsPresentCondition.Builder |
setStatus(boolean value)
public TargetsPresentCondition.Builder setStatus(boolean value)True if there aren't any missing Targets.
bool status = 1;
| Name | Description |
value |
booleanThe status to set. |
| Type | Description |
TargetsPresentCondition.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetsPresentCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
TargetsPresentCondition.Builder |
setUpdateTime(Timestamp value)
public TargetsPresentCondition.Builder setUpdateTime(Timestamp value)Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Name | Description |
value |
Timestamp |
| Type | Description |
TargetsPresentCondition.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public TargetsPresentCondition.Builder setUpdateTime(Timestamp.Builder builderForValue)Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
| Name | Description |
builderForValue |
Builder |
| Type | Description |
TargetsPresentCondition.Builder |