Package com.google.cloud.deploy.v1
Class TargetsPresentCondition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TargetsPresentCondition.Builder>
com.google.cloud.deploy.v1.TargetsPresentCondition.Builder
- All Implemented Interfaces:
TargetsPresentConditionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TargetsPresentCondition
public static final class TargetsPresentCondition.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TargetsPresentCondition.Builder>
implements TargetsPresentConditionOrBuilder
`TargetsPresentCondition` contains information on any Targets referenced in the Delivery Pipeline that do not actually exist.Protobuf type
google.cloud.deploy.v1.TargetsPresentCondition-
Method Summary
Modifier and TypeMethodDescriptionaddAllMissingTargets(Iterable<String> values) The list of Target names that do not exist.addMissingTargets(String value) The list of Target names that do not exist.addMissingTargetsBytes(com.google.protobuf.ByteString value) The list of Target names that do not exist.build()clear()The list of Target names that do not exist.True if there aren't any missing Targets.Last time the condition was updated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMissingTargets(int index) The list of Target names that do not exist.com.google.protobuf.ByteStringgetMissingTargetsBytes(int index) The list of Target names that do not exist.intThe list of Target names that do not exist.com.google.protobuf.ProtocolStringListThe list of Target names that do not exist.booleanTrue if there aren't any missing Targets.com.google.protobuf.TimestampLast time the condition was updated.com.google.protobuf.Timestamp.BuilderLast time the condition was updated.com.google.protobuf.TimestampOrBuilderLast time the condition was updated.booleanLast time the condition was updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TargetsPresentCondition other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Last time the condition was updated.setMissingTargets(int index, String value) The list of Target names that do not exist.setStatus(boolean value) True if there aren't any missing Targets.setUpdateTime(com.google.protobuf.Timestamp value) Last time the condition was updated.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time the condition was updated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TargetsPresentCondition.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TargetsPresentCondition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TargetsPresentCondition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetsPresentCondition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TargetsPresentCondition.Builder>
-
mergeFrom
public TargetsPresentCondition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetsPresentCondition.Builder>- Throws:
IOException
-
getStatus
public boolean getStatus()True if there aren't any missing Targets.
bool status = 1;- Specified by:
getStatusin interfaceTargetsPresentConditionOrBuilder- Returns:
- The status.
-
setStatus
True if there aren't any missing Targets.
bool status = 1;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
True if there aren't any missing Targets.
bool status = 1;- Returns:
- This builder for chaining.
-
getMissingTargetsList
public com.google.protobuf.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) = { ... }- Specified by:
getMissingTargetsListin interfaceTargetsPresentConditionOrBuilder- Returns:
- A list containing the missingTargets.
-
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) = { ... }- Specified by:
getMissingTargetsCountin interfaceTargetsPresentConditionOrBuilder- Returns:
- The count of missingTargets.
-
getMissingTargets
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) = { ... }- Specified by:
getMissingTargetsin interfaceTargetsPresentConditionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The missingTargets at the given index.
-
getMissingTargetsBytes
public com.google.protobuf.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) = { ... }- Specified by:
getMissingTargetsBytesin interfaceTargetsPresentConditionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the missingTargets at the given index.
-
setMissingTargets
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:
index- The index to set the value at.value- The missingTargets to set.- Returns:
- This builder for chaining.
-
addMissingTargets
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:
value- The missingTargets to add.- Returns:
- This builder for chaining.
-
addAllMissingTargets
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:
values- The missingTargets to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addMissingTargetsBytes
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:
value- The bytes of the missingTargets to add.- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;- Specified by:
hasUpdateTimein interfaceTargetsPresentConditionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimein interfaceTargetsPresentConditionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4; -
setUpdateTime
public TargetsPresentCondition.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4; -
mergeUpdateTime
Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4; -
clearUpdateTime
Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Last time the condition was updated.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimeOrBuilderin interfaceTargetsPresentConditionOrBuilder
-