Class BigQueryPropertyGraphReference.Builder (0.21.0)

public static final class BigQueryPropertyGraphReference.Builder extends GeneratedMessage.Builder<BigQueryPropertyGraphReference.Builder> implements BigQueryPropertyGraphReferenceOrBuilder

Message representing a reference to a single BigQuery property graph.

Protobuf type google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference

Static Methods

getDescriptor()

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

Methods

build()

public BigQueryPropertyGraphReference build()
Returns
Type Description
BigQueryPropertyGraphReference

buildPartial()

public BigQueryPropertyGraphReference buildPartial()
Returns
Type Description
BigQueryPropertyGraphReference

clear()

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

clearDatasetId()

public BigQueryPropertyGraphReference.Builder clearDatasetId()

Required. The dataset that the property graph belongs to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

clearProjectId()

public BigQueryPropertyGraphReference.Builder clearProjectId()

Required. The project that the property graph belongs to.

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

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

clearPropertyGraphId()

public BigQueryPropertyGraphReference.Builder clearPropertyGraphId()

Required. The property graph id.

string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

getDatasetId()

public String getDatasetId()

Required. The dataset that the property graph belongs to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Required. The dataset that the property graph belongs to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryPropertyGraphReference getDefaultInstanceForType()
Returns
Type Description
BigQueryPropertyGraphReference

getDescriptorForType()

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

getProjectId()

public String getProjectId()

Required. The project that the property graph belongs to.

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

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. The project that the property graph belongs to.

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

Returns
Type Description
ByteString

The bytes for projectId.

getPropertyGraphId()

public String getPropertyGraphId()

Required. The property graph id.

string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The propertyGraphId.

getPropertyGraphIdBytes()

public ByteString getPropertyGraphIdBytes()

Required. The property graph id.

string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for propertyGraphId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryPropertyGraphReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatasetId(String value)

public BigQueryPropertyGraphReference.Builder setDatasetId(String value)

Required. The dataset that the property graph belongs to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public BigQueryPropertyGraphReference.Builder setDatasetIdBytes(ByteString value)

Required. The dataset that the property graph belongs to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

setProjectId(String value)

public BigQueryPropertyGraphReference.Builder setProjectId(String value)

Required. The project that the property graph belongs to.

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

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public BigQueryPropertyGraphReference.Builder setProjectIdBytes(ByteString value)

Required. The project that the property graph belongs to.

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

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

setPropertyGraphId(String value)

public BigQueryPropertyGraphReference.Builder setPropertyGraphId(String value)

Required. The property graph id.

string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The propertyGraphId to set.

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.

setPropertyGraphIdBytes(ByteString value)

public BigQueryPropertyGraphReference.Builder setPropertyGraphIdBytes(ByteString value)

Required. The property graph id.

string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for propertyGraphId to set.

Returns
Type Description
BigQueryPropertyGraphReference.Builder

This builder for chaining.