- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class TargetsPresentCondition.Builder extends GeneratedMessageV3.Builder<TargetsPresentCondition.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TargetsPresentCondition.BuilderImplements
TargetsPresentConditionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllMissingTargets(Iterable<String> values)
public TargetsPresentCondition.Builder addAllMissingTargets(Iterable<String> values)
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 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The missingTargets to add. |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder | This builder for chaining. |
addMissingTargets(String value)
public TargetsPresentCondition.Builder addMissingTargets(String value)
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 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The missingTargets to add. |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder | This builder for chaining. |
addMissingTargetsBytes(ByteString value)
public TargetsPresentCondition.Builder addMissingTargetsBytes(ByteString value)
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 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the missingTargets to add. |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetsPresentCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
build()
public TargetsPresentCondition build()
Returns | |
---|---|
Type | Description |
TargetsPresentCondition |
buildPartial()
public TargetsPresentCondition buildPartial()
Returns | |
---|---|
Type | Description |
TargetsPresentCondition |
clear()
public TargetsPresentCondition.Builder clear()
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
clearField(Descriptors.FieldDescriptor field)
public TargetsPresentCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
clearMissingTargets()
public TargetsPresentCondition.Builder clearMissingTargets()
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 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetsPresentCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
clearStatus()
public TargetsPresentCondition.Builder clearStatus()
True if there aren't any missing Targets.
bool status = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
clone()
public TargetsPresentCondition.Builder clone()
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
getDefaultInstanceForType()
public TargetsPresentCondition getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TargetsPresentCondition |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 [(.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 do not exist. 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 do not exist. 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 do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the missingTargets. |
getStatus()
public boolean getStatus()
True if there aren't any missing Targets.
bool status = 1;
Returns | |
---|---|
Type | Description |
boolean | The status. |
getUpdateTime()
public Timestamp getUpdateTime()
Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;
Returns | |
---|---|
Type | Description |
Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TargetsPresentCondition other)
public TargetsPresentCondition.Builder mergeFrom(TargetsPresentCondition other)
Parameter | |
---|---|
Name | Description |
other | TargetsPresentCondition |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TargetsPresentCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TargetsPresentCondition.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetsPresentCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TargetsPresentCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
setMissingTargets(int index, String value)
public TargetsPresentCondition.Builder setMissingTargets(int index, String value)
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 [(.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The missingTargets to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
setStatus(boolean value)
public TargetsPresentCondition.Builder setStatus(boolean value)
True if there aren't any missing Targets.
bool status = 1;
Parameter | |
---|---|
Name | Description |
value | boolean The status to set. |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetsPresentCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |