Class PersonalDetails.Builder (1.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PersonalDetails build()
Returns
TypeDescription
PersonalDetails

buildPartial()

public PersonalDetails buildPartial()
Returns
TypeDescription
PersonalDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStarTime()

public PersonalDetails.Builder clearStarTime()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
TypeDescription
PersonalDetails.Builder

clearStarred()

public PersonalDetails.Builder clearStarred()

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

bool starred = 1;

Returns
TypeDescription
PersonalDetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PersonalDetails getDefaultInstanceForType()
Returns
TypeDescription
PersonalDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStarTime()

public Timestamp getStarTime()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
TypeDescription
Timestamp

The starTime.

getStarTimeBuilder()

public Timestamp.Builder getStarTimeBuilder()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
TypeDescription
Builder

getStarTimeOrBuilder()

public TimestampOrBuilder getStarTimeOrBuilder()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getStarred()

public boolean getStarred()

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

bool starred = 1;

Returns
TypeDescription
boolean

The starred.

hasStarTime()

public boolean hasStarTime()

Set if the entry is starred; unset otherwise.

.google.protobuf.Timestamp star_time = 2;

Returns
TypeDescription
boolean

Whether the starTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PersonalDetails other)

public PersonalDetails.Builder mergeFrom(PersonalDetails other)
Parameter
NameDescription
otherPersonalDetails
Returns
TypeDescription
PersonalDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PersonalDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
PersonalDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PersonalDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueboolean

The starred to set.

Returns
TypeDescription
PersonalDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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