Class ProfileStatus.Builder (3.49.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProfileStatus build()
Returns
Type Description
ProfileStatus

buildPartial()

public ProfileStatus buildPartial()
Returns
Type Description
ProfileStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ProfileStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ProfileStatus.Builder

clearTimestamp()

public ProfileStatus.Builder clearTimestamp()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
ProfileStatus.Builder

clone()

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

getDefaultInstanceForType()

public ProfileStatus getDefaultInstanceForType()
Returns
Type Description
ProfileStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
com.google.rpc.StatusOrBuilder

getTimestamp()

public Timestamp getTimestamp()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
Timestamp

The timestamp.

getTimestampBuilder()

public Timestamp.Builder getTimestampBuilder()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
Builder

getTimestampOrBuilder()

public TimestampOrBuilder getTimestampOrBuilder()

Time when the profile generation status was updated

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the timestamp field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProfileStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ProfileStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
ProfileStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ProfileStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
ProfileStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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