Class DataProvider.Builder (2.78.0)

public static final class DataProvider.Builder extends GeneratedMessage.Builder<DataProvider.Builder> implements DataProviderOrBuilder

Contains details of the data provider.

Protobuf type google.cloud.bigquery.dataexchange.v1beta1.DataProvider

Static Methods

getDescriptor()

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

Methods

build()

public DataProvider build()
Returns
Type Description
DataProvider

buildPartial()

public DataProvider buildPartial()
Returns
Type Description
DataProvider

clear()

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

clearName()

public DataProvider.Builder clearName()

Optional. Name of the data provider.

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

Returns
Type Description
DataProvider.Builder

This builder for chaining.

clearPrimaryContact()

public DataProvider.Builder clearPrimaryContact()

Optional. Email or URL of the data provider. Max Length: 1000 bytes.

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

Returns
Type Description
DataProvider.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataProvider getDefaultInstanceForType()
Returns
Type Description
DataProvider

getDescriptorForType()

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

getName()

public String getName()

Optional. Name of the data provider.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the data provider.

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 data provider. 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 data provider. 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProvider other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public DataProvider.Builder setName(String value)

Optional. Name of the data provider.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DataProvider.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DataProvider.Builder setNameBytes(ByteString value)

Optional. Name of the data provider.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DataProvider.Builder

This builder for chaining.

setPrimaryContact(String value)

public DataProvider.Builder setPrimaryContact(String value)

Optional. Email or URL of the data provider. 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
DataProvider.Builder

This builder for chaining.

setPrimaryContactBytes(ByteString value)

public DataProvider.Builder setPrimaryContactBytes(ByteString value)

Optional. Email or URL of the data provider. 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
DataProvider.Builder

This builder for chaining.