Class DataProvider.Builder (0.14.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.analyticshub.v1.DataProvider

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProvider.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProvider.Builder
Overrides

build()

public DataProvider build()
Returns
TypeDescription
DataProvider

buildPartial()

public DataProvider buildPartial()
Returns
TypeDescription
DataProvider

clear()

public DataProvider.Builder clear()
Returns
TypeDescription
DataProvider.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataProvider.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataProvider.Builder
Overrides

clearName()

public DataProvider.Builder clearName()

Optional. Name of the data provider.

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

Returns
TypeDescription
DataProvider.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProvider.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DataProvider.Builder

This builder for chaining.

clone()

public DataProvider.Builder clone()
Returns
TypeDescription
DataProvider.Builder
Overrides

getDefaultInstanceForType()

public DataProvider getDefaultInstanceForType()
Returns
TypeDescription
DataProvider

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Optional. Name of the data provider.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the data provider.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for primaryContact.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataProvider other)

public DataProvider.Builder mergeFrom(DataProvider other)
Parameter
NameDescription
otherDataProvider
Returns
TypeDescription
DataProvider.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProvider.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProvider.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataProvider.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataProvider.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProvider.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProvider.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataProvider.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The primaryContact to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for primaryContact to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProvider.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProvider.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProvider.Builder
Overrides