Class PreviewFeatureRolloutOperationRolloutInput.Builder (1.93.0)

public static final class PreviewFeatureRolloutOperationRolloutInput.Builder extends GeneratedMessage.Builder<PreviewFeatureRolloutOperationRolloutInput.Builder> implements PreviewFeatureRolloutOperationRolloutInputOrBuilder

Represents the input for the rollout operation.

Protobuf type google.cloud.compute.v1.PreviewFeatureRolloutOperationRolloutInput

Static Methods

getDescriptor()

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

Methods

build()

public PreviewFeatureRolloutOperationRolloutInput build()
Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput

buildPartial()

public PreviewFeatureRolloutOperationRolloutInput buildPartial()
Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput

clear()

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

clearName()

public PreviewFeatureRolloutOperationRolloutInput.Builder clearName()

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput.Builder

This builder for chaining.

clearPredefinedRolloutPlan()

public PreviewFeatureRolloutOperationRolloutInput.Builder clearPredefinedRolloutPlan()

Predefined rollout plan. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput.Builder

This builder for chaining.

getDefaultInstanceForType()

public PreviewFeatureRolloutOperationRolloutInput getDefaultInstanceForType()
Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput

getDescriptorForType()

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

getName()

public String getName()

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getPredefinedRolloutPlan()

public String getPredefinedRolloutPlan()

Predefined rollout plan. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
String

The predefinedRolloutPlan.

getPredefinedRolloutPlanBytes()

public ByteString getPredefinedRolloutPlanBytes()

Predefined rollout plan. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
ByteString

The bytes for predefinedRolloutPlan.

hasName()

public boolean hasName()

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasPredefinedRolloutPlan()

public boolean hasPredefinedRolloutPlan()

Predefined rollout plan. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
boolean

Whether the predefinedRolloutPlan field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreviewFeatureRolloutOperationRolloutInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public PreviewFeatureRolloutOperationRolloutInput.Builder setName(String value)

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PreviewFeatureRolloutOperationRolloutInput.Builder setNameBytes(ByteString value)

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput.Builder

This builder for chaining.

setPredefinedRolloutPlan(String value)

public PreviewFeatureRolloutOperationRolloutInput.Builder setPredefinedRolloutPlan(String value)

Predefined rollout plan. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Parameter
Name Description
value String

The predefinedRolloutPlan to set.

Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput.Builder

This builder for chaining.

setPredefinedRolloutPlanBytes(ByteString value)

public PreviewFeatureRolloutOperationRolloutInput.Builder setPredefinedRolloutPlanBytes(ByteString value)

Predefined rollout plan. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Parameter
Name Description
value ByteString

The bytes for predefinedRolloutPlan to set.

Returns
Type Description
PreviewFeatureRolloutOperationRolloutInput.Builder

This builder for chaining.