Interface LinkOrBuilder (3.16.2)

public interface LinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBigqueryDataset()

public abstract BigQueryDataset getBigqueryDataset()

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

.google.logging.v2.BigQueryDataset bigquery_dataset = 5;

Returns
TypeDescription
BigQueryDataset

The bigqueryDataset.

getBigqueryDatasetOrBuilder()

public abstract BigQueryDatasetOrBuilder getBigqueryDatasetOrBuilder()

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

.google.logging.v2.BigQueryDataset bigquery_dataset = 5;

Returns
TypeDescription
BigQueryDatasetOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation timestamp of the link.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of the link.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Describes this link.

The maximum length of the description is 8000 characters.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Describes this link.

The maximum length of the description is 8000 characters.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getLifecycleState()

public abstract LifecycleState getLifecycleState()

Output only. The resource lifecycle state.

.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
LifecycleState

The lifecycleState.

getLifecycleStateValue()

public abstract int getLifecycleStateValue()

Output only. The resource lifecycle state.

.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for lifecycleState.

getName()

public abstract String getName()

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.

 "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
 "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
 "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"

For example:

`projects/my-project/locations/global/buckets/my-bucket/links/my_link

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.

 "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
 "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
 "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"

For example:

`projects/my-project/locations/global/buckets/my-bucket/links/my_link

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

hasBigqueryDataset()

public abstract boolean hasBigqueryDataset()

The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.

.google.logging.v2.BigQueryDataset bigquery_dataset = 5;

Returns
TypeDescription
boolean

Whether the bigqueryDataset field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation timestamp of the link.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.