Interface LinkOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Link, Link.Builder

public interface LinkOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      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:
      The name.
    • getNameBytes

      com.google.protobuf.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:
      The bytes for name.
    • getDescription

      String getDescription()
       Describes this link.
      
       The maximum length of the description is 8000 characters.
       
      string description = 2;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Describes this link.
      
       The maximum length of the description is 8000 characters.
       
      string description = 2;
      Returns:
      The bytes for description.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation timestamp of the link.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation timestamp of the link.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation timestamp of the link.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLifecycleStateValue

      int getLifecycleStateValue()
       Output only. The resource lifecycle state.
       
      .google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for lifecycleState.
    • getLifecycleState

      LifecycleState getLifecycleState()
       Output only. The resource lifecycle state.
       
      .google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The lifecycleState.
    • hasBigqueryDataset

      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:
      Whether the bigqueryDataset field is set.
    • getBigqueryDataset

      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:
      The bigqueryDataset.
    • getBigqueryDatasetOrBuilder

      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;