Class PersonalDetails.Builder (1.49.0)

public static final class PersonalDetails.Builder extends GeneratedMessageV3.Builder<PersonalDetails.Builder> implements PersonalDetailsOrBuilder

Entry metadata relevant only to the user and private to them.

Protobuf type google.cloud.datacatalog.v1.PersonalDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PersonalDetails build()
Returns
Type Description
PersonalDetails

buildPartial()

public PersonalDetails buildPartial()
Returns
Type Description
PersonalDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStarTime()

public PersonalDetails.Builder clearStarTime()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
Type Description
PersonalDetails.Builder

clearStarred()

public PersonalDetails.Builder clearStarred()

True if the entry is starred by the user; false otherwise.

bool starred = 1;

Returns
Type Description
PersonalDetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PersonalDetails getDefaultInstanceForType()
Returns
Type Description
PersonalDetails

getDescriptorForType()

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

getStarTime()

public Timestamp getStarTime()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
Type Description
Timestamp

The starTime.

getStarTimeBuilder()

public Timestamp.Builder getStarTimeBuilder()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
Type Description
Builder

getStarTimeOrBuilder()

public TimestampOrBuilder getStarTimeOrBuilder()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
Type Description
TimestampOrBuilder

getStarred()

public boolean getStarred()

True if the entry is starred by the user; false otherwise.

bool starred = 1;

Returns
Type Description
boolean

The starred.

hasStarTime()

public boolean hasStarTime()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
Type Description
boolean

Whether the starTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PersonalDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStarTime(Timestamp value)

public PersonalDetails.Builder mergeStarTime(Timestamp value)

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
PersonalDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStarTime(Timestamp value)

public PersonalDetails.Builder setStarTime(Timestamp value)

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
PersonalDetails.Builder

setStarTime(Timestamp.Builder builderForValue)

public PersonalDetails.Builder setStarTime(Timestamp.Builder builderForValue)

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PersonalDetails.Builder

setStarred(boolean value)

public PersonalDetails.Builder setStarred(boolean value)

True if the entry is starred by the user; false otherwise.

bool starred = 1;

Parameter
Name Description
value boolean

The starred to set.

Returns
Type Description
PersonalDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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