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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProvider.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataProvider build()
Returns
buildPartial()
public DataProvider buildPartial()
Returns
clear()
public DataProvider.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataProvider.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public DataProvider.Builder clearName()
Optional. Name of the data provider.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProvider.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clone()
public DataProvider.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DataProvider getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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.
|
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DataProvider other)
public DataProvider.Builder mergeFrom(DataProvider other)
Parameter
Returns
public DataProvider.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataProvider.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProvider.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataProvider.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProvider.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProvider.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides