Class MutationRecord.Builder (3.84.0)

public static final class MutationRecord.Builder extends GeneratedMessage.Builder<MutationRecord.Builder> implements MutationRecordOrBuilder

Describes a change made to a configuration.

Protobuf type google.monitoring.v3.MutationRecord

Static Methods

getDescriptor()

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

Methods

build()

public MutationRecord build()
Returns
Type Description
MutationRecord

buildPartial()

public MutationRecord buildPartial()
Returns
Type Description
MutationRecord

clear()

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

clearMutateTime()

public MutationRecord.Builder clearMutateTime()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
Type Description
MutationRecord.Builder

clearMutatedBy()

public MutationRecord.Builder clearMutatedBy()

The email address of the user making the change.

string mutated_by = 2;

Returns
Type Description
MutationRecord.Builder

This builder for chaining.

getDefaultInstanceForType()

public MutationRecord getDefaultInstanceForType()
Returns
Type Description
MutationRecord

getDescriptorForType()

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

getMutateTime()

public Timestamp getMutateTime()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
Type Description
Timestamp

The mutateTime.

getMutateTimeBuilder()

public Timestamp.Builder getMutateTimeBuilder()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
Type Description
Builder

getMutateTimeOrBuilder()

public TimestampOrBuilder getMutateTimeOrBuilder()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
Type Description
TimestampOrBuilder

getMutatedBy()

public String getMutatedBy()

The email address of the user making the change.

string mutated_by = 2;

Returns
Type Description
String

The mutatedBy.

getMutatedByBytes()

public ByteString getMutatedByBytes()

The email address of the user making the change.

string mutated_by = 2;

Returns
Type Description
ByteString

The bytes for mutatedBy.

hasMutateTime()

public boolean hasMutateTime()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
Type Description
boolean

Whether the mutateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MutationRecord other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMutateTime(Timestamp value)

public MutationRecord.Builder mergeMutateTime(Timestamp value)

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
MutationRecord.Builder

setMutateTime(Timestamp value)

public MutationRecord.Builder setMutateTime(Timestamp value)

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
MutationRecord.Builder

setMutateTime(Timestamp.Builder builderForValue)

public MutationRecord.Builder setMutateTime(Timestamp.Builder builderForValue)

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MutationRecord.Builder

setMutatedBy(String value)

public MutationRecord.Builder setMutatedBy(String value)

The email address of the user making the change.

string mutated_by = 2;

Parameter
Name Description
value String

The mutatedBy to set.

Returns
Type Description
MutationRecord.Builder

This builder for chaining.

setMutatedByBytes(ByteString value)

public MutationRecord.Builder setMutatedByBytes(ByteString value)

The email address of the user making the change.

string mutated_by = 2;

Parameter
Name Description
value ByteString

The bytes for mutatedBy to set.

Returns
Type Description
MutationRecord.Builder

This builder for chaining.