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
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
ISBN_FIELD_NUMBER
public static final int ISBN_FIELD_NUMBER
Field Value
JOURNAL_FIELD_NUMBER
public static final int JOURNAL_FIELD_NUMBER
Field Value
PUBLICATION_DATE_FIELD_NUMBER
public static final int PUBLICATION_DATE_FIELD_NUMBER
Field Value
PUBLICATION_TYPE_FIELD_NUMBER
public static final int PUBLICATION_TYPE_FIELD_NUMBER
Field Value
PUBLISHER_FIELD_NUMBER
public static final int PUBLISHER_FIELD_NUMBER
Field Value
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value
VOLUME_FIELD_NUMBER
public static final int VOLUME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Publication getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Publication.Builder newBuilder()
Returns
newBuilder(Publication prototype)
public static Publication.Builder newBuilder(Publication prototype)
Parameter
Returns
public static Publication parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Publication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Publication parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Publication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Publication parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Publication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Publication parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Publication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Publication parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Publication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Publication parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Publication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Publication> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
getDefaultInstanceForType()
public Publication getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
The description of the publication.
Number of characters allowed is 100,000.
string description = 3;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description of the publication.
Number of characters allowed is 100,000.
string description = 3;
Returns
Type | Description |
ByteString | The bytes for description.
|
getIsbn()
ISBN number.
Number of characters allowed is 100.
string isbn = 9;
Returns
Type | Description |
String | The isbn.
|
getIsbnBytes()
public ByteString getIsbnBytes()
ISBN number.
Number of characters allowed is 100.
string isbn = 9;
Returns
getJournal()
public String getJournal()
The journal name of the publication.
Number of characters allowed is 100.
string journal = 4;
Returns
Type | Description |
String | The journal.
|
getJournalBytes()
public ByteString getJournalBytes()
The journal name of the publication.
Number of characters allowed is 100.
string journal = 4;
Returns
getParserForType()
public Parser<Publication> getParserForType()
Returns
Overrides
getPublicationDate()
public Date getPublicationDate()
The publication date.
.google.type.Date publication_date = 7;
Returns
Type | Description |
com.google.type.Date | The publicationDate.
|
getPublicationDateOrBuilder()
public DateOrBuilder getPublicationDateOrBuilder()
The publication date.
.google.type.Date publication_date = 7;
Returns
Type | Description |
com.google.type.DateOrBuilder | |
getPublicationType()
public String getPublicationType()
The publication type.
Number of characters allowed is 100.
string publication_type = 8;
Returns
Type | Description |
String | The publicationType.
|
getPublicationTypeBytes()
public ByteString getPublicationTypeBytes()
The publication type.
Number of characters allowed is 100.
string publication_type = 8;
Returns
Type | Description |
ByteString | The bytes for publicationType.
|
getPublisher()
public String getPublisher()
The publisher of the journal.
Number of characters allowed is 100.
string publisher = 6;
Returns
Type | Description |
String | The publisher.
|
getPublisherBytes()
public ByteString getPublisherBytes()
The publisher of the journal.
Number of characters allowed is 100.
string publisher = 6;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTitle()
The title of the publication.
Number of characters allowed is 100.
string title = 2;
Returns
Type | Description |
String | The title.
|
getTitleBytes()
public ByteString getTitleBytes()
The title of the publication.
Number of characters allowed is 100.
string title = 2;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVolume()
public String getVolume()
Volume number.
Number of characters allowed is 100.
string volume = 5;
Returns
Type | Description |
String | The volume.
|
getVolumeBytes()
public ByteString getVolumeBytes()
Volume number.
Number of characters allowed is 100.
string volume = 5;
Returns
hasPublicationDate()
public boolean hasPublicationDate()
The publication date.
.google.type.Date publication_date = 7;
Returns
Type | Description |
boolean | Whether the publicationDate field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Publication.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Publication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Publication.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions