Class Context.SchemaRelationship.SchemaPaths.Builder (0.11.0)

public static final class Context.SchemaRelationship.SchemaPaths.Builder extends GeneratedMessage.Builder<Context.SchemaRelationship.SchemaPaths.Builder> implements Context.SchemaRelationship.SchemaPathsOrBuilder

Represents an ordered set of paths within the table schema.

Protobuf type google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths

Static Methods

getDescriptor()

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

Methods

addAllPaths(Iterable<String> values)

public Context.SchemaRelationship.SchemaPaths.Builder addAllPaths(Iterable<String> values)

The ordered list of paths within the table schema.

repeated string paths = 2;

Parameter
Name Description
values Iterable<String>

The paths to add.

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.

addPaths(String value)

public Context.SchemaRelationship.SchemaPaths.Builder addPaths(String value)

The ordered list of paths within the table schema.

repeated string paths = 2;

Parameter
Name Description
value String

The paths to add.

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.

addPathsBytes(ByteString value)

public Context.SchemaRelationship.SchemaPaths.Builder addPathsBytes(ByteString value)

The ordered list of paths within the table schema.

repeated string paths = 2;

Parameter
Name Description
value ByteString

The bytes of the paths to add.

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.

build()

public Context.SchemaRelationship.SchemaPaths build()
Returns
Type Description
Context.SchemaRelationship.SchemaPaths

buildPartial()

public Context.SchemaRelationship.SchemaPaths buildPartial()
Returns
Type Description
Context.SchemaRelationship.SchemaPaths

clear()

public Context.SchemaRelationship.SchemaPaths.Builder clear()
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder
Overrides

clearPaths()

public Context.SchemaRelationship.SchemaPaths.Builder clearPaths()

The ordered list of paths within the table schema.

repeated string paths = 2;

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.

clearTableFqn()

public Context.SchemaRelationship.SchemaPaths.Builder clearTableFqn()

The service-qualified full resource name of the table Ex: bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string table_fqn = 1;

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.

getDefaultInstanceForType()

public Context.SchemaRelationship.SchemaPaths getDefaultInstanceForType()
Returns
Type Description
Context.SchemaRelationship.SchemaPaths

getDescriptorForType()

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

getPaths(int index)

public String getPaths(int index)

The ordered list of paths within the table schema.

repeated string paths = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The paths at the given index.

getPathsBytes(int index)

public ByteString getPathsBytes(int index)

The ordered list of paths within the table schema.

repeated string paths = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the paths at the given index.

getPathsCount()

public int getPathsCount()

The ordered list of paths within the table schema.

repeated string paths = 2;

Returns
Type Description
int

The count of paths.

getPathsList()

public ProtocolStringList getPathsList()

The ordered list of paths within the table schema.

repeated string paths = 2;

Returns
Type Description
ProtocolStringList

A list containing the paths.

getTableFqn()

public String getTableFqn()

The service-qualified full resource name of the table Ex: bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string table_fqn = 1;

Returns
Type Description
String

The tableFqn.

getTableFqnBytes()

public ByteString getTableFqnBytes()

The service-qualified full resource name of the table Ex: bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string table_fqn = 1;

Returns
Type Description
ByteString

The bytes for tableFqn.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Context.SchemaRelationship.SchemaPaths other)

public Context.SchemaRelationship.SchemaPaths.Builder mergeFrom(Context.SchemaRelationship.SchemaPaths other)
Parameter
Name Description
other Context.SchemaRelationship.SchemaPaths
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Context.SchemaRelationship.SchemaPaths.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder
Overrides

setPaths(int index, String value)

public Context.SchemaRelationship.SchemaPaths.Builder setPaths(int index, String value)

The ordered list of paths within the table schema.

repeated string paths = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The paths to set.

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.

setTableFqn(String value)

public Context.SchemaRelationship.SchemaPaths.Builder setTableFqn(String value)

The service-qualified full resource name of the table Ex: bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string table_fqn = 1;

Parameter
Name Description
value String

The tableFqn to set.

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.

setTableFqnBytes(ByteString value)

public Context.SchemaRelationship.SchemaPaths.Builder setTableFqnBytes(ByteString value)

The service-qualified full resource name of the table Ex: bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string table_fqn = 1;

Parameter
Name Description
value ByteString

The bytes for tableFqn to set.

Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder

This builder for chaining.