Class MutationRecord.Builder (3.52.0)

public static final class MutationRecord.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public MutationRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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