Class RolloutRolloutEntityOrchestratedEntity.Builder (1.105.0)

public static final class RolloutRolloutEntityOrchestratedEntity.Builder extends GeneratedMessage.Builder<RolloutRolloutEntityOrchestratedEntity.Builder> implements RolloutRolloutEntityOrchestratedEntityOrBuilder

This message is used if the resource type follows the Orchestrated integration model with ProgressiveRollout.

Protobuf type google.cloud.compute.v1.RolloutRolloutEntityOrchestratedEntity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public RolloutRolloutEntityOrchestratedEntity build()
Returns
Type Description
RolloutRolloutEntityOrchestratedEntity

buildPartial()

public RolloutRolloutEntityOrchestratedEntity buildPartial()
Returns
Type Description
RolloutRolloutEntityOrchestratedEntity

clear()

public RolloutRolloutEntityOrchestratedEntity.Builder clear()
Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder
Overrides

clearConflictBehavior()

public RolloutRolloutEntityOrchestratedEntity.Builder clearConflictBehavior()

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value. 2) no_overwrite : Do not overwrite the local value with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

clearOrchestrationAction()

public RolloutRolloutEntityOrchestratedEntity.Builder clearOrchestrationAction()

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout. 2) "delete": Resources will be deleted by the rollout.

optional string orchestration_action = 109745652;

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

clearOrchestrationSource()

public RolloutRolloutEntityOrchestratedEntity.Builder clearOrchestrationSource()

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g. //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

optional string orchestration_source = 99319769;

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

getConflictBehavior()

public String getConflictBehavior()

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value. 2) no_overwrite : Do not overwrite the local value with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
String

The conflictBehavior.

getConflictBehaviorBytes()

public ByteString getConflictBehaviorBytes()

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value. 2) no_overwrite : Do not overwrite the local value with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
ByteString

The bytes for conflictBehavior.

getDefaultInstanceForType()

public RolloutRolloutEntityOrchestratedEntity getDefaultInstanceForType()
Returns
Type Description
RolloutRolloutEntityOrchestratedEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOrchestrationAction()

public String getOrchestrationAction()

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout. 2) "delete": Resources will be deleted by the rollout.

optional string orchestration_action = 109745652;

Returns
Type Description
String

The orchestrationAction.

getOrchestrationActionBytes()

public ByteString getOrchestrationActionBytes()

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout. 2) "delete": Resources will be deleted by the rollout.

optional string orchestration_action = 109745652;

Returns
Type Description
ByteString

The bytes for orchestrationAction.

getOrchestrationSource()

public String getOrchestrationSource()

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g. //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

optional string orchestration_source = 99319769;

Returns
Type Description
String

The orchestrationSource.

getOrchestrationSourceBytes()

public ByteString getOrchestrationSourceBytes()

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g. //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

optional string orchestration_source = 99319769;

Returns
Type Description
ByteString

The bytes for orchestrationSource.

hasConflictBehavior()

public boolean hasConflictBehavior()

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value. 2) no_overwrite : Do not overwrite the local value with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
boolean

Whether the conflictBehavior field is set.

hasOrchestrationAction()

public boolean hasOrchestrationAction()

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout. 2) "delete": Resources will be deleted by the rollout.

optional string orchestration_action = 109745652;

Returns
Type Description
boolean

Whether the orchestrationAction field is set.

hasOrchestrationSource()

public boolean hasOrchestrationSource()

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g. //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

optional string orchestration_source = 99319769;

Returns
Type Description
boolean

Whether the orchestrationSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RolloutRolloutEntityOrchestratedEntity other)

public RolloutRolloutEntityOrchestratedEntity.Builder mergeFrom(RolloutRolloutEntityOrchestratedEntity other)
Parameter
Name Description
other RolloutRolloutEntityOrchestratedEntity
Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RolloutRolloutEntityOrchestratedEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RolloutRolloutEntityOrchestratedEntity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder
Overrides

setConflictBehavior(String value)

public RolloutRolloutEntityOrchestratedEntity.Builder setConflictBehavior(String value)

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value. 2) no_overwrite : Do not overwrite the local value with the rollout value.

optional string conflict_behavior = 115729439;

Parameter
Name Description
value String

The conflictBehavior to set.

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

setConflictBehaviorBytes(ByteString value)

public RolloutRolloutEntityOrchestratedEntity.Builder setConflictBehaviorBytes(ByteString value)

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value. 2) no_overwrite : Do not overwrite the local value with the rollout value.

optional string conflict_behavior = 115729439;

Parameter
Name Description
value ByteString

The bytes for conflictBehavior to set.

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

setOrchestrationAction(String value)

public RolloutRolloutEntityOrchestratedEntity.Builder setOrchestrationAction(String value)

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout. 2) "delete": Resources will be deleted by the rollout.

optional string orchestration_action = 109745652;

Parameter
Name Description
value String

The orchestrationAction to set.

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

setOrchestrationActionBytes(ByteString value)

public RolloutRolloutEntityOrchestratedEntity.Builder setOrchestrationActionBytes(ByteString value)

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout. 2) "delete": Resources will be deleted by the rollout.

optional string orchestration_action = 109745652;

Parameter
Name Description
value ByteString

The bytes for orchestrationAction to set.

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

setOrchestrationSource(String value)

public RolloutRolloutEntityOrchestratedEntity.Builder setOrchestrationSource(String value)

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g. //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

optional string orchestration_source = 99319769;

Parameter
Name Description
value String

The orchestrationSource to set.

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.

setOrchestrationSourceBytes(ByteString value)

public RolloutRolloutEntityOrchestratedEntity.Builder setOrchestrationSourceBytes(ByteString value)

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g. //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

optional string orchestration_source = 99319769;

Parameter
Name Description
value ByteString

The bytes for orchestrationSource to set.

Returns
Type Description
RolloutRolloutEntityOrchestratedEntity.Builder

This builder for chaining.