Class StudioDatasourceReference.Builder (0.11.0)

public static final class StudioDatasourceReference.Builder extends GeneratedMessage.Builder<StudioDatasourceReference.Builder> implements StudioDatasourceReferenceOrBuilder

Message representing a reference to a single Looker Studio datasource.

Protobuf type google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference

Static Methods

getDescriptor()

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

Methods

build()

public StudioDatasourceReference build()
Returns
Type Description
StudioDatasourceReference

buildPartial()

public StudioDatasourceReference buildPartial()
Returns
Type Description
StudioDatasourceReference

clear()

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

clearDatasourceId()

public StudioDatasourceReference.Builder clearDatasourceId()

Required. The id of the datasource.

string datasource_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudioDatasourceReference.Builder

This builder for chaining.

getDatasourceId()

public String getDatasourceId()

Required. The id of the datasource.

string datasource_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The datasourceId.

getDatasourceIdBytes()

public ByteString getDatasourceIdBytes()

Required. The id of the datasource.

string datasource_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for datasourceId.

getDefaultInstanceForType()

public StudioDatasourceReference getDefaultInstanceForType()
Returns
Type Description
StudioDatasourceReference

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StudioDatasourceReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatasourceId(String value)

public StudioDatasourceReference.Builder setDatasourceId(String value)

Required. The id of the datasource.

string datasource_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The datasourceId to set.

Returns
Type Description
StudioDatasourceReference.Builder

This builder for chaining.

setDatasourceIdBytes(ByteString value)

public StudioDatasourceReference.Builder setDatasourceIdBytes(ByteString value)

Required. The id of the datasource.

string datasource_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for datasourceId to set.

Returns
Type Description
StudioDatasourceReference.Builder

This builder for chaining.