Class Context.SchemaRelationship.SchemaPaths.Builder (0.9.0)

public static final class Context.SchemaRelationship.SchemaPaths.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Context.SchemaRelationship.SchemaPaths.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Context.SchemaRelationship.SchemaPaths.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Context.SchemaRelationship.SchemaPaths.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Context.SchemaRelationship.SchemaPaths.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Context.SchemaRelationship.SchemaPaths.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Context.SchemaRelationship.SchemaPaths.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Context.SchemaRelationship.SchemaPaths.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Context.SchemaRelationship.SchemaPaths.Builder
Overrides