Class Listing.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
- com.google.cloud.bigquery.analyticshub.v1.Listing.Builder
-
- All Implemented Interfaces:
ListingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Listing
public static final class Listing.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder> implements ListingOrBuilder
A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
Protobuf typegoogle.cloud.bigquery.analyticshub.v1.Listing
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
clear
public Listing.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
getDefaultInstanceForType
public Listing getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Listing build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Listing buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Listing.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
setField
public Listing.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
clearField
public Listing.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
clearOneof
public Listing.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
setRepeatedField
public Listing.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
addRepeatedField
public Listing.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
mergeFrom
public Listing.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Listing.Builder>
-
mergeFrom
public Listing.Builder mergeFrom(Listing other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
mergeFrom
public Listing.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Listing.Builder>
- Throws:
IOException
-
getSourceCase
public Listing.SourceCase getSourceCase()
- Specified by:
getSourceCase
in interfaceListingOrBuilder
-
clearSource
public Listing.Builder clearSource()
-
hasBigqueryDataset
public boolean hasBigqueryDataset()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasBigqueryDataset
in interfaceListingOrBuilder
- Returns:
- Whether the bigqueryDataset field is set.
-
getBigqueryDataset
public Listing.BigQueryDatasetSource getBigqueryDataset()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getBigqueryDataset
in interfaceListingOrBuilder
- Returns:
- The bigqueryDataset.
-
setBigqueryDataset
public Listing.Builder setBigqueryDataset(Listing.BigQueryDatasetSource value)
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
-
setBigqueryDataset
public Listing.Builder setBigqueryDataset(Listing.BigQueryDatasetSource.Builder builderForValue)
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
-
mergeBigqueryDataset
public Listing.Builder mergeBigqueryDataset(Listing.BigQueryDatasetSource value)
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
-
clearBigqueryDataset
public Listing.Builder clearBigqueryDataset()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
-
getBigqueryDatasetBuilder
public Listing.BigQueryDatasetSource.Builder getBigqueryDatasetBuilder()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
-
getBigqueryDatasetOrBuilder
public Listing.BigQueryDatasetSourceOrBuilder getBigqueryDatasetOrBuilder()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getBigqueryDatasetOrBuilder
in interfaceListingOrBuilder
-
getName
public String getName()
Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceListingOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceListingOrBuilder
- Returns:
- The bytes for name.
-
setName
public Listing.Builder setName(String value)
Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Listing.Builder clearName()
Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Listing.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDisplayName
in interfaceListingOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDisplayNameBytes
in interfaceListingOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Listing.Builder setDisplayName(String value)
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Listing.Builder clearDisplayName()
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Listing.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in interfaceListingOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescriptionBytes
in interfaceListingOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Listing.Builder setDescription(String value)
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Listing.Builder clearDescription()
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Listing.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPrimaryContact
public String getPrimaryContact()
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPrimaryContact
in interfaceListingOrBuilder
- Returns:
- The primaryContact.
-
getPrimaryContactBytes
public com.google.protobuf.ByteString getPrimaryContactBytes()
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPrimaryContactBytes
in interfaceListingOrBuilder
- Returns:
- The bytes for primaryContact.
-
setPrimaryContact
public Listing.Builder setPrimaryContact(String value)
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The primaryContact to set.- Returns:
- This builder for chaining.
-
clearPrimaryContact
public Listing.Builder clearPrimaryContact()
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setPrimaryContactBytes
public Listing.Builder setPrimaryContactBytes(com.google.protobuf.ByteString value)
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for primaryContact to set.- Returns:
- This builder for chaining.
-
getDocumentation
public String getDocumentation()
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDocumentation
in interfaceListingOrBuilder
- Returns:
- The documentation.
-
getDocumentationBytes
public com.google.protobuf.ByteString getDocumentationBytes()
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDocumentationBytes
in interfaceListingOrBuilder
- Returns:
- The bytes for documentation.
-
setDocumentation
public Listing.Builder setDocumentation(String value)
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The documentation to set.- Returns:
- This builder for chaining.
-
clearDocumentation
public Listing.Builder clearDocumentation()
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDocumentationBytes
public Listing.Builder setDocumentationBytes(com.google.protobuf.ByteString value)
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for documentation to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceListingOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Listing.Builder setStateValue(int value)
Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Listing.State getState()
Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceListingOrBuilder
- Returns:
- The state.
-
setState
public Listing.Builder setState(Listing.State value)
Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Listing.Builder clearState()
Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getIcon
public com.google.protobuf.ByteString getIcon()
Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getIcon
in interfaceListingOrBuilder
- Returns:
- The icon.
-
setIcon
public Listing.Builder setIcon(com.google.protobuf.ByteString value)
Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 8 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The icon to set.- Returns:
- This builder for chaining.
-
clearIcon
public Listing.Builder clearIcon()
Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
hasDataProvider
public boolean hasDataProvider()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasDataProvider
in interfaceListingOrBuilder
- Returns:
- Whether the dataProvider field is set.
-
getDataProvider
public DataProvider getDataProvider()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDataProvider
in interfaceListingOrBuilder
- Returns:
- The dataProvider.
-
setDataProvider
public Listing.Builder setDataProvider(DataProvider value)
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
-
setDataProvider
public Listing.Builder setDataProvider(DataProvider.Builder builderForValue)
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
-
mergeDataProvider
public Listing.Builder mergeDataProvider(DataProvider value)
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
-
clearDataProvider
public Listing.Builder clearDataProvider()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getDataProviderBuilder
public DataProvider.Builder getDataProviderBuilder()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getDataProviderOrBuilder
public DataProviderOrBuilder getDataProviderOrBuilder()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDataProviderOrBuilder
in interfaceListingOrBuilder
-
getCategoriesList
public List<Listing.Category> getCategoriesList()
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCategoriesList
in interfaceListingOrBuilder
- Returns:
- A list containing the categories.
-
getCategoriesCount
public int getCategoriesCount()
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCategoriesCount
in interfaceListingOrBuilder
- Returns:
- The count of categories.
-
getCategories
public Listing.Category getCategories(int index)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCategories
in interfaceListingOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The categories at the given index.
-
setCategories
public Listing.Builder setCategories(int index, Listing.Category value)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The categories to set.- Returns:
- This builder for chaining.
-
addCategories
public Listing.Builder addCategories(Listing.Category value)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The categories to add.- Returns:
- This builder for chaining.
-
addAllCategories
public Listing.Builder addAllCategories(Iterable<? extends Listing.Category> values)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The categories to add.- Returns:
- This builder for chaining.
-
clearCategories
public Listing.Builder clearCategories()
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getCategoriesValueList
public List<Integer> getCategoriesValueList()
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCategoriesValueList
in interfaceListingOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for categories.
-
getCategoriesValue
public int getCategoriesValue(int index)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCategoriesValue
in interfaceListingOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of categories at the given index.
-
setCategoriesValue
public Listing.Builder setCategoriesValue(int index, int value)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for categories to set.- Returns:
- This builder for chaining.
-
addCategoriesValue
public Listing.Builder addCategoriesValue(int value)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The enum numeric value on the wire for categories to add.- Returns:
- This builder for chaining.
-
addAllCategoriesValue
public Listing.Builder addAllCategoriesValue(Iterable<Integer> values)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The enum numeric values on the wire for categories to add.- Returns:
- This builder for chaining.
-
hasPublisher
public boolean hasPublisher()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPublisher
in interfaceListingOrBuilder
- Returns:
- Whether the publisher field is set.
-
getPublisher
public Publisher getPublisher()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPublisher
in interfaceListingOrBuilder
- Returns:
- The publisher.
-
setPublisher
public Listing.Builder setPublisher(Publisher value)
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
-
setPublisher
public Listing.Builder setPublisher(Publisher.Builder builderForValue)
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
-
mergePublisher
public Listing.Builder mergePublisher(Publisher value)
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
-
clearPublisher
public Listing.Builder clearPublisher()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getPublisherBuilder
public Publisher.Builder getPublisherBuilder()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getPublisherOrBuilder
public PublisherOrBuilder getPublisherOrBuilder()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPublisherOrBuilder
in interfaceListingOrBuilder
-
getRequestAccess
public String getRequestAccess()
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRequestAccess
in interfaceListingOrBuilder
- Returns:
- The requestAccess.
-
getRequestAccessBytes
public com.google.protobuf.ByteString getRequestAccessBytes()
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRequestAccessBytes
in interfaceListingOrBuilder
- Returns:
- The bytes for requestAccess.
-
setRequestAccess
public Listing.Builder setRequestAccess(String value)
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The requestAccess to set.- Returns:
- This builder for chaining.
-
clearRequestAccess
public Listing.Builder clearRequestAccess()
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setRequestAccessBytes
public Listing.Builder setRequestAccessBytes(com.google.protobuf.ByteString value)
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for requestAccess to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Listing.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
mergeUnknownFields
public final Listing.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Listing.Builder>
-
-