Class Publisher.Builder (0.46.0)

public static final class Publisher.Builder extends GeneratedMessageV3.Builder<Publisher.Builder> implements PublisherOrBuilder

Contains details of the listing publisher.

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

Implements

PublisherOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Publisher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Publisher.Builder
Overrides

build()

public Publisher build()
Returns
Type Description
Publisher

buildPartial()

public Publisher buildPartial()
Returns
Type Description
Publisher

clear()

public Publisher.Builder clear()
Returns
Type Description
Publisher.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Publisher.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Publisher.Builder
Overrides

clearName()

public Publisher.Builder clearName()

Optional. Name of the listing publisher.

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

Returns
Type Description
Publisher.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Publisher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Publisher.Builder
Overrides

clearPrimaryContact()

public Publisher.Builder clearPrimaryContact()

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

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

Returns
Type Description
Publisher.Builder

This builder for chaining.

clone()

public Publisher.Builder clone()
Returns
Type Description
Publisher.Builder
Overrides

getDefaultInstanceForType()

public Publisher getDefaultInstanceForType()
Returns
Type Description
Publisher

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Optional. Name of the listing publisher.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the listing publisher.

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

Returns
Type Description
ByteString

The bytes for name.

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
Type Description
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
Type Description
ByteString

The bytes for primaryContact.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Publisher other)

public Publisher.Builder mergeFrom(Publisher other)
Parameter
Name Description
other Publisher
Returns
Type Description
Publisher.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Publisher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Publisher.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Publisher.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Publisher.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Publisher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Publisher.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Publisher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Publisher.Builder
Overrides

setName(String value)

public Publisher.Builder setName(String value)

Optional. Name of the listing publisher.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Publisher.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Publisher.Builder setNameBytes(ByteString value)

Optional. Name of the listing publisher.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Publisher.Builder

This builder for chaining.

setPrimaryContact(String value)

public Publisher.Builder setPrimaryContact(String value)

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

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

Parameter
Name Description
value String

The primaryContact to set.

Returns
Type Description
Publisher.Builder

This builder for chaining.

setPrimaryContactBytes(ByteString value)

public Publisher.Builder setPrimaryContactBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for primaryContact to set.

Returns
Type Description
Publisher.Builder

This builder for chaining.

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

public Publisher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Publisher.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Publisher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Publisher.Builder
Overrides