Class Publication (2.2.9)

public final class Publication extends GeneratedMessageV3 implements PublicationOrBuilder

Resource that represents a publication resource of a candidate.

Protobuf type google.cloud.talent.v4beta1.Publication

Static Fields

AUTHORS_FIELD_NUMBER

public static final int AUTHORS_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

ISBN_FIELD_NUMBER

public static final int ISBN_FIELD_NUMBER
Field Value
TypeDescription
int

JOURNAL_FIELD_NUMBER

public static final int JOURNAL_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLICATION_DATE_FIELD_NUMBER

public static final int PUBLICATION_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLICATION_TYPE_FIELD_NUMBER

public static final int PUBLICATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLISHER_FIELD_NUMBER

public static final int PUBLISHER_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

VOLUME_FIELD_NUMBER

public static final int VOLUME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Publication getDefaultInstance()
Returns
TypeDescription
Publication

getDescriptor()

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

newBuilder()

public static Publication.Builder newBuilder()
Returns
TypeDescription
Publication.Builder

newBuilder(Publication prototype)

public static Publication.Builder newBuilder(Publication prototype)
Parameter
NameDescription
prototypePublication
Returns
TypeDescription
Publication.Builder

parseDelimitedFrom(InputStream input)

public static Publication parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Publication
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Publication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publication
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Publication parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Publication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Publication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Publication parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Publication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Publication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Publication parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Publication
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Publication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publication
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Publication parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Publication
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Publication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publication
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Publication parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Publication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Publication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publication
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Publication> parser()
Returns
TypeDescription
Parser<Publication>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

getParserForType()

public Parser<Publication> getParserForType()
Returns
TypeDescription
Parser<Publication>
Overrides

getPublicationDate()

public Date getPublicationDate()

The publication date.

.google.type.Date publication_date = 7;

Returns
TypeDescription
com.google.type.Date

The publicationDate.

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Publication.Builder newBuilderForType()
Returns
TypeDescription
Publication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Publication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Publication.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Publication.Builder toBuilder()
Returns
TypeDescription
Publication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException