Class ProfileStatus.Builder (3.43.0)

public static final class ProfileStatus.Builder extends GeneratedMessageV3.Builder<ProfileStatus.Builder> implements ProfileStatusOrBuilder

Success or errors for the profile generation.

Protobuf type google.privacy.dlp.v2.ProfileStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProfileStatus build()
Returns
TypeDescription
ProfileStatus

buildPartial()

public ProfileStatus buildPartial()
Returns
TypeDescription
ProfileStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public ProfileStatus.Builder clearStatus()

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Returns
TypeDescription
ProfileStatus.Builder

clearTimestamp()

public ProfileStatus.Builder clearTimestamp()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
ProfileStatus.Builder

clone()

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

getDefaultInstanceForType()

public ProfileStatus getDefaultInstanceForType()
Returns
TypeDescription
ProfileStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStatus()

public Status getStatus()

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getTimestamp()

public Timestamp getTimestamp()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
Timestamp

The timestamp.

getTimestampBuilder()

public Timestamp.Builder getTimestampBuilder()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
Builder

getTimestampOrBuilder()

public TimestampOrBuilder getTimestampOrBuilder()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
TimestampOrBuilder

hasStatus()

public boolean hasStatus()

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Returns
TypeDescription
boolean

Whether the status field is set.

hasTimestamp()

public boolean hasTimestamp()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
boolean

Whether the timestamp field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProfileStatus other)

public ProfileStatus.Builder mergeFrom(ProfileStatus other)
Parameter
NameDescription
otherProfileStatus
Returns
TypeDescription
ProfileStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStatus(Status value)

public ProfileStatus.Builder mergeStatus(Status value)

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ProfileStatus.Builder

mergeTimestamp(Timestamp value)

public ProfileStatus.Builder mergeTimestamp(Timestamp value)

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ProfileStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ProfileStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProfileStatus.Builder
Overrides

setStatus(Status value)

public ProfileStatus.Builder setStatus(Status value)

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ProfileStatus.Builder

setStatus(Status.Builder builderForValue)

public ProfileStatus.Builder setStatus(Status.Builder builderForValue)

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

.google.rpc.Status status = 1;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ProfileStatus.Builder

setTimestamp(Timestamp value)

public ProfileStatus.Builder setTimestamp(Timestamp value)

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ProfileStatus.Builder

setTimestamp(Timestamp.Builder builderForValue)

public ProfileStatus.Builder setTimestamp(Timestamp.Builder builderForValue)

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ProfileStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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