public static final class TimedPromoteReleaseCondition.Targets.Builder extends GeneratedMessage.Builder<TimedPromoteReleaseCondition.Targets.Builder> implements TimedPromoteReleaseCondition.TargetsOrBuilderThe targets involved in a single timed promotion.
Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimedPromoteReleaseCondition.Targets.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TimedPromoteReleaseCondition.Targets build()| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets |
|
buildPartial()
public TimedPromoteReleaseCondition.Targets buildPartial()| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets |
|
clear()
public TimedPromoteReleaseCondition.Targets.Builder clear()| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
|
clearDestinationTargetId()
public TimedPromoteReleaseCondition.Targets.Builder clearDestinationTargetId()Optional. The destination target ID.
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
This builder for chaining. |
clearSourceTargetId()
public TimedPromoteReleaseCondition.Targets.Builder clearSourceTargetId()Optional. The source target ID.
string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public TimedPromoteReleaseCondition.Targets getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationTargetId()
public String getDestinationTargetId()Optional. The destination target ID.
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The destinationTargetId. |
getDestinationTargetIdBytes()
public ByteString getDestinationTargetIdBytes()Optional. The destination target ID.
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for destinationTargetId. |
getSourceTargetId()
public String getSourceTargetId()Optional. The source target ID.
string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sourceTargetId. |
getSourceTargetIdBytes()
public ByteString getSourceTargetIdBytes()Optional. The source target ID.
string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceTargetId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TimedPromoteReleaseCondition.Targets other)
public TimedPromoteReleaseCondition.Targets.Builder mergeFrom(TimedPromoteReleaseCondition.Targets other)| Parameter | |
|---|---|
| Name | Description |
other |
TimedPromoteReleaseCondition.Targets |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimedPromoteReleaseCondition.Targets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimedPromoteReleaseCondition.Targets.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
|
setDestinationTargetId(String value)
public TimedPromoteReleaseCondition.Targets.Builder setDestinationTargetId(String value)Optional. The destination target ID.
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destinationTargetId to set. |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
This builder for chaining. |
setDestinationTargetIdBytes(ByteString value)
public TimedPromoteReleaseCondition.Targets.Builder setDestinationTargetIdBytes(ByteString value)Optional. The destination target ID.
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationTargetId to set. |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
This builder for chaining. |
setSourceTargetId(String value)
public TimedPromoteReleaseCondition.Targets.Builder setSourceTargetId(String value)Optional. The source target ID.
string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceTargetId to set. |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
This builder for chaining. |
setSourceTargetIdBytes(ByteString value)
public TimedPromoteReleaseCondition.Targets.Builder setSourceTargetIdBytes(ByteString value)Optional. The source target ID.
string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceTargetId to set. |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Targets.Builder |
This builder for chaining. |