Class DatasetConfig.Link.Builder (0.68.0)

public static final class DatasetConfig.Link.Builder extends GeneratedMessage.Builder<DatasetConfig.Link.Builder> implements DatasetConfig.LinkOrBuilder

Defines the details about the linked dataset.

Protobuf type google.cloud.storageinsights.v1.DatasetConfig.Link

Static Methods

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

Methods

public DatasetConfig.Link build()
Returns
Type Description
DatasetConfig.Link
public DatasetConfig.Link buildPartial()
Returns
Type Description
DatasetConfig.Link
public DatasetConfig.Link.Builder clear()
Returns
Type Description
DatasetConfig.Link.Builder
Overrides
public DatasetConfig.Link.Builder clearDataset()

Output only. Dataset name for linked dataset.

string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetConfig.Link.Builder

This builder for chaining.

public DatasetConfig.Link.Builder clearLinked()

Output only. State of the linked dataset.

bool linked = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetConfig.Link.Builder

This builder for chaining.

public String getDataset()

Output only. Dataset name for linked dataset.

string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dataset.

public ByteString getDatasetBytes()

Output only. Dataset name for linked dataset.

string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dataset.

public DatasetConfig.Link getDefaultInstanceForType()
Returns
Type Description
DatasetConfig.Link
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public boolean getLinked()

Output only. State of the linked dataset.

bool linked = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The linked.

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public DatasetConfig.Link.Builder mergeFrom(DatasetConfig.Link other)
Parameter
Name Description
other DatasetConfig.Link
Returns
Type Description
DatasetConfig.Link.Builder
public DatasetConfig.Link.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetConfig.Link.Builder
Overrides
Exceptions
Type Description
IOException
public DatasetConfig.Link.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatasetConfig.Link.Builder
Overrides
public DatasetConfig.Link.Builder setDataset(String value)

Output only. Dataset name for linked dataset.

string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
DatasetConfig.Link.Builder

This builder for chaining.

public DatasetConfig.Link.Builder setDatasetBytes(ByteString value)

Output only. Dataset name for linked dataset.

string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
DatasetConfig.Link.Builder

This builder for chaining.

public DatasetConfig.Link.Builder setLinked(boolean value)

Output only. State of the linked dataset.

bool linked = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The linked to set.

Returns
Type Description
DatasetConfig.Link.Builder

This builder for chaining.