Class Publication.Builder

public static final class Publication.Builder extends GeneratedMessageV3.Builder<Publication.Builder> implements PublicationOrBuilder

Resource that represents a publication resource of a candidate.

Protobuf type google.cloud.talent.v4beta1.Publication

Static Methods

getDescriptor()

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

Methods

addAllAuthors(Iterable<String> values)

public Publication.Builder addAllAuthors(Iterable<String> values)

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Parameter
NameDescription
valuesIterable<String>

The authors to add.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

addAuthors(String value)

public Publication.Builder addAuthors(String value)

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Parameter
NameDescription
valueString

The authors to add.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

addAuthorsBytes(ByteString value)

public Publication.Builder addAuthorsBytes(ByteString value)

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Parameter
NameDescription
valueByteString

The bytes of the authors to add.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Publication build()
Returns
TypeDescription
Publication

buildPartial()

public Publication buildPartial()
Returns
TypeDescription
Publication

clear()

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

clearAuthors()

public Publication.Builder clearAuthors()

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clearDescription()

public Publication.Builder clearDescription()

The description of the publication. Number of characters allowed is 100,000.

string description = 3;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIsbn()

public Publication.Builder clearIsbn()

ISBN number. Number of characters allowed is 100.

string isbn = 9;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clearJournal()

public Publication.Builder clearJournal()

The journal name of the publication. Number of characters allowed is 100.

string journal = 4;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPublicationDate()

public Publication.Builder clearPublicationDate()

The publication date.

.google.type.Date publication_date = 7;

Returns
TypeDescription
Publication.Builder

clearPublicationType()

public Publication.Builder clearPublicationType()

The publication type. Number of characters allowed is 100.

string publication_type = 8;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clearPublisher()

public Publication.Builder clearPublisher()

The publisher of the journal. Number of characters allowed is 100.

string publisher = 6;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clearTitle()

public Publication.Builder clearTitle()

The title of the publication. Number of characters allowed is 100.

string title = 2;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clearVolume()

public Publication.Builder clearVolume()

Volume number. Number of characters allowed is 100.

string volume = 5;

Returns
TypeDescription
Publication.Builder

This builder for chaining.

clone()

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

getAuthors(int index)

public String getAuthors(int index)

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The authors at the given index.

getAuthorsBytes(int index)

public ByteString getAuthorsBytes(int index)

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the authors at the given index.

getAuthorsCount()

public int getAuthorsCount()

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Returns
TypeDescription
int

The count of authors.

getAuthorsList()

public ProtocolStringList getAuthorsList()

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the authors.

getDefaultInstanceForType()

public Publication getDefaultInstanceForType()
Returns
TypeDescription
Publication

getDescription()

public String getDescription()

The description of the publication. Number of characters allowed is 100,000.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the publication. Number of characters allowed is 100,000.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIsbn()

public String getIsbn()

ISBN number. Number of characters allowed is 100.

string isbn = 9;

Returns
TypeDescription
String

The isbn.

getIsbnBytes()

public ByteString getIsbnBytes()

ISBN number. Number of characters allowed is 100.

string isbn = 9;

Returns
TypeDescription
ByteString

The bytes for isbn.

getJournal()

public String getJournal()

The journal name of the publication. Number of characters allowed is 100.

string journal = 4;

Returns
TypeDescription
String

The journal.

getJournalBytes()

public ByteString getJournalBytes()

The journal name of the publication. Number of characters allowed is 100.

string journal = 4;

Returns
TypeDescription
ByteString

The bytes for journal.

getPublicationDate()

public Date getPublicationDate()

The publication date.

.google.type.Date publication_date = 7;

Returns
TypeDescription
com.google.type.Date

The publicationDate.

getPublicationDateBuilder()

public Date.Builder getPublicationDateBuilder()

The publication date.

.google.type.Date publication_date = 7;

Returns
TypeDescription
com.google.type.Date.Builder

getPublicationDateOrBuilder()

public DateOrBuilder getPublicationDateOrBuilder()

The publication date.

.google.type.Date publication_date = 7;

Returns
TypeDescription
com.google.type.DateOrBuilder

getPublicationType()

public String getPublicationType()

The publication type. Number of characters allowed is 100.

string publication_type = 8;

Returns
TypeDescription
String

The publicationType.

getPublicationTypeBytes()

public ByteString getPublicationTypeBytes()

The publication type. Number of characters allowed is 100.

string publication_type = 8;

Returns
TypeDescription
ByteString

The bytes for publicationType.

getPublisher()

public String getPublisher()

The publisher of the journal. Number of characters allowed is 100.

string publisher = 6;

Returns
TypeDescription
String

The publisher.

getPublisherBytes()

public ByteString getPublisherBytes()

The publisher of the journal. Number of characters allowed is 100.

string publisher = 6;

Returns
TypeDescription
ByteString

The bytes for publisher.

getTitle()

public String getTitle()

The title of the publication. Number of characters allowed is 100.

string title = 2;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The title of the publication. Number of characters allowed is 100.

string title = 2;

Returns
TypeDescription
ByteString

The bytes for title.

getVolume()

public String getVolume()

Volume number. Number of characters allowed is 100.

string volume = 5;

Returns
TypeDescription
String

The volume.

getVolumeBytes()

public ByteString getVolumeBytes()

Volume number. Number of characters allowed is 100.

string volume = 5;

Returns
TypeDescription
ByteString

The bytes for volume.

hasPublicationDate()

public boolean hasPublicationDate()

The publication date.

.google.type.Date publication_date = 7;

Returns
TypeDescription
boolean

Whether the publicationDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Publication other)

public Publication.Builder mergeFrom(Publication other)
Parameter
NameDescription
otherPublication
Returns
TypeDescription
Publication.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePublicationDate(Date value)

public Publication.Builder mergePublicationDate(Date value)

The publication date.

.google.type.Date publication_date = 7;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Publication.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAuthors(int index, String value)

public Publication.Builder setAuthors(int index, String value)

A list of author names. Number of characters allowed is 100.

repeated string authors = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The authors to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setDescription(String value)

public Publication.Builder setDescription(String value)

The description of the publication. Number of characters allowed is 100,000.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Publication.Builder setDescriptionBytes(ByteString value)

The description of the publication. Number of characters allowed is 100,000.

string description = 3;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsbn(String value)

public Publication.Builder setIsbn(String value)

ISBN number. Number of characters allowed is 100.

string isbn = 9;

Parameter
NameDescription
valueString

The isbn to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setIsbnBytes(ByteString value)

public Publication.Builder setIsbnBytes(ByteString value)

ISBN number. Number of characters allowed is 100.

string isbn = 9;

Parameter
NameDescription
valueByteString

The bytes for isbn to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setJournal(String value)

public Publication.Builder setJournal(String value)

The journal name of the publication. Number of characters allowed is 100.

string journal = 4;

Parameter
NameDescription
valueString

The journal to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setJournalBytes(ByteString value)

public Publication.Builder setJournalBytes(ByteString value)

The journal name of the publication. Number of characters allowed is 100.

string journal = 4;

Parameter
NameDescription
valueByteString

The bytes for journal to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setPublicationDate(Date value)

public Publication.Builder setPublicationDate(Date value)

The publication date.

.google.type.Date publication_date = 7;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Publication.Builder

setPublicationDate(Date.Builder builderForValue)

public Publication.Builder setPublicationDate(Date.Builder builderForValue)

The publication date.

.google.type.Date publication_date = 7;

Parameter
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
Publication.Builder

setPublicationType(String value)

public Publication.Builder setPublicationType(String value)

The publication type. Number of characters allowed is 100.

string publication_type = 8;

Parameter
NameDescription
valueString

The publicationType to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setPublicationTypeBytes(ByteString value)

public Publication.Builder setPublicationTypeBytes(ByteString value)

The publication type. Number of characters allowed is 100.

string publication_type = 8;

Parameter
NameDescription
valueByteString

The bytes for publicationType to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setPublisher(String value)

public Publication.Builder setPublisher(String value)

The publisher of the journal. Number of characters allowed is 100.

string publisher = 6;

Parameter
NameDescription
valueString

The publisher to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setPublisherBytes(ByteString value)

public Publication.Builder setPublisherBytes(ByteString value)

The publisher of the journal. Number of characters allowed is 100.

string publisher = 6;

Parameter
NameDescription
valueByteString

The bytes for publisher to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

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

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

setTitle(String value)

public Publication.Builder setTitle(String value)

The title of the publication. Number of characters allowed is 100.

string title = 2;

Parameter
NameDescription
valueString

The title to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public Publication.Builder setTitleBytes(ByteString value)

The title of the publication. Number of characters allowed is 100.

string title = 2;

Parameter
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVolume(String value)

public Publication.Builder setVolume(String value)

Volume number. Number of characters allowed is 100.

string volume = 5;

Parameter
NameDescription
valueString

The volume to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.

setVolumeBytes(ByteString value)

public Publication.Builder setVolumeBytes(ByteString value)

Volume number. Number of characters allowed is 100.

string volume = 5;

Parameter
NameDescription
valueByteString

The bytes for volume to set.

Returns
TypeDescription
Publication.Builder

This builder for chaining.