Class PolicyControllerMigration.Builder (1.56.0)

public static final class PolicyControllerMigration.Builder extends GeneratedMessageV3.Builder<PolicyControllerMigration.Builder> implements PolicyControllerMigrationOrBuilder

State for the migration of PolicyController from ACM -> PoCo Hub.

Protobuf type google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PolicyControllerMigration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyControllerMigration.Builder
Overrides

build()

public PolicyControllerMigration build()
Returns
Type Description
PolicyControllerMigration

buildPartial()

public PolicyControllerMigration buildPartial()
Returns
Type Description
PolicyControllerMigration

clear()

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

clearCopyTime()

public PolicyControllerMigration.Builder clearCopyTime()

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Returns
Type Description
PolicyControllerMigration.Builder

clearField(Descriptors.FieldDescriptor field)

public PolicyControllerMigration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PolicyControllerMigration.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PolicyControllerMigration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PolicyControllerMigration.Builder
Overrides

clearStage()

public PolicyControllerMigration.Builder clearStage()

Stage of the migration.

.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;

Returns
Type Description
PolicyControllerMigration.Builder

This builder for chaining.

clone()

public PolicyControllerMigration.Builder clone()
Returns
Type Description
PolicyControllerMigration.Builder
Overrides

getCopyTime()

public Timestamp getCopyTime()

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Returns
Type Description
Timestamp

The copyTime.

getCopyTimeBuilder()

public Timestamp.Builder getCopyTimeBuilder()

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Returns
Type Description
Builder

getCopyTimeOrBuilder()

public TimestampOrBuilder getCopyTimeOrBuilder()

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PolicyControllerMigration getDefaultInstanceForType()
Returns
Type Description
PolicyControllerMigration

getDescriptorForType()

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

getStage()

public PolicyControllerMigration.Stage getStage()

Stage of the migration.

.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;

Returns
Type Description
PolicyControllerMigration.Stage

The stage.

getStageValue()

public int getStageValue()

Stage of the migration.

.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;

Returns
Type Description
int

The enum numeric value on the wire for stage.

hasCopyTime()

public boolean hasCopyTime()

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Returns
Type Description
boolean

Whether the copyTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCopyTime(Timestamp value)

public PolicyControllerMigration.Builder mergeCopyTime(Timestamp value)

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
PolicyControllerMigration.Builder

mergeFrom(PolicyControllerMigration other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyControllerMigration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PolicyControllerMigration.Builder
Overrides

setCopyTime(Timestamp value)

public PolicyControllerMigration.Builder setCopyTime(Timestamp value)

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
PolicyControllerMigration.Builder

setCopyTime(Timestamp.Builder builderForValue)

public PolicyControllerMigration.Builder setCopyTime(Timestamp.Builder builderForValue)

Last time this membership spec was copied to PoCo feature.

.google.protobuf.Timestamp copy_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PolicyControllerMigration.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PolicyControllerMigration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyControllerMigration.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PolicyControllerMigration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PolicyControllerMigration.Builder
Overrides

setStage(PolicyControllerMigration.Stage value)

public PolicyControllerMigration.Builder setStage(PolicyControllerMigration.Stage value)

Stage of the migration.

.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;

Parameter
Name Description
value PolicyControllerMigration.Stage

The stage to set.

Returns
Type Description
PolicyControllerMigration.Builder

This builder for chaining.

setStageValue(int value)

public PolicyControllerMigration.Builder setStageValue(int value)

Stage of the migration.

.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for stage to set.

Returns
Type Description
PolicyControllerMigration.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PolicyControllerMigration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PolicyControllerMigration.Builder
Overrides