Interface LinkOrBuilder (3.17.1)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Describes this link.

The maximum length of the description is 8000 characters.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Describes this link.

The maximum length of the description is 8000 characters.

string description = 2;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the createTime field is set.