public static final class Publisher.Builder extends GeneratedMessage.Builder<Publisher.Builder> implements PublisherOrBuilderContains details of the listing publisher.
Protobuf type google.cloud.bigquery.dataexchange.v1beta1.Publisher
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Publisher.BuilderImplements
PublisherOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public Publisher getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Publisher |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Publisher.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Publisher.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for primaryContact to set. |
| Returns | |
|---|---|
| Type | Description |
Publisher.Builder |
This builder for chaining. |