Class DataProvider.Builder (2.50.0)

public static final class DataProvider.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public DataProvider.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public DataProvider.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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