Class MutationRecord.Builder (3.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MutationRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MutationRecord.Builder
Overrides

build()

public MutationRecord build()
Returns
TypeDescription
MutationRecord

buildPartial()

public MutationRecord buildPartial()
Returns
TypeDescription
MutationRecord

clear()

public MutationRecord.Builder clear()
Returns
TypeDescription
MutationRecord.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MutationRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MutationRecord.Builder
Overrides

clearMutateTime()

public MutationRecord.Builder clearMutateTime()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
TypeDescription
MutationRecord.Builder

clearMutatedBy()

public MutationRecord.Builder clearMutatedBy()

The email address of the user making the change.

string mutated_by = 2;

Returns
TypeDescription
MutationRecord.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MutationRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MutationRecord.Builder
Overrides

clone()

public MutationRecord.Builder clone()
Returns
TypeDescription
MutationRecord.Builder
Overrides

getDefaultInstanceForType()

public MutationRecord getDefaultInstanceForType()
Returns
TypeDescription
MutationRecord

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutateTime()

public Timestamp getMutateTime()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
TypeDescription
Timestamp

The mutateTime.

getMutateTimeBuilder()

public Timestamp.Builder getMutateTimeBuilder()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
TypeDescription
Builder

getMutateTimeOrBuilder()

public TimestampOrBuilder getMutateTimeOrBuilder()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getMutatedBy()

public String getMutatedBy()

The email address of the user making the change.

string mutated_by = 2;

Returns
TypeDescription
String

The mutatedBy.

getMutatedByBytes()

public ByteString getMutatedByBytes()

The email address of the user making the change.

string mutated_by = 2;

Returns
TypeDescription
ByteString

The bytes for mutatedBy.

hasMutateTime()

public boolean hasMutateTime()

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Returns
TypeDescription
boolean

Whether the mutateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MutationRecord other)

public MutationRecord.Builder mergeFrom(MutationRecord other)
Parameter
NameDescription
otherMutationRecord
Returns
TypeDescription
MutationRecord.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MutationRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationRecord.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MutationRecord.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MutationRecord.Builder
Overrides

mergeMutateTime(Timestamp value)

public MutationRecord.Builder mergeMutateTime(Timestamp value)

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
MutationRecord.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MutationRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MutationRecord.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MutationRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MutationRecord.Builder
Overrides

setMutateTime(Timestamp value)

public MutationRecord.Builder setMutateTime(Timestamp value)

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
MutationRecord.Builder

setMutateTime(Timestamp.Builder builderForValue)

public MutationRecord.Builder setMutateTime(Timestamp.Builder builderForValue)

When the change occurred.

.google.protobuf.Timestamp mutate_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The mutatedBy to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for mutatedBy to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MutationRecord.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MutationRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MutationRecord.Builder
Overrides