Class Publisher (0.31.0)

public final class Publisher extends GeneratedMessageV3 implements PublisherOrBuilder

Contains details of the listing publisher.

Protobuf type google.cloud.bigquery.analyticshub.v1.Publisher

Implements

PublisherOrBuilder

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_CONTACT_FIELD_NUMBER

public static final int PRIMARY_CONTACT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Publisher getDefaultInstance()
Returns
TypeDescription
Publisher

getDescriptor()

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

newBuilder()

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

newBuilder(Publisher prototype)

public static Publisher.Builder newBuilder(Publisher prototype)
Parameter
NameDescription
prototypePublisher
Returns
TypeDescription
Publisher.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Publisher getDefaultInstanceForType()
Returns
TypeDescription
Publisher

getName()

public String getName()

Optional. Name of the listing publisher.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the listing publisher.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getPrimaryContact()

public String getPrimaryContact()

Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.

string primary_contact = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The primaryContact.

getPrimaryContactBytes()

public ByteString getPrimaryContactBytes()

Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.

string primary_contact = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for primaryContact.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 Publisher.Builder newBuilderForType()
Returns
TypeDescription
Publisher.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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