Class Link (3.23.3)

  public 
  
 final 
  
 class 
 Link 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 LinkOrBuilder 
 

Describes a link connected to an analytics enabled bucket.

Protobuf type google.logging.v2.Link

Implements

LinkOrBuilder

Static Fields

  public 
  
 static 
  
 final 
  
 int 
  
 BIGQUERY_DATASET_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 CREATE_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 DESCRIPTION_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 LIFECYCLE_STATE_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 NAME_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

  public 
  
 static 
  
 Link 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description
  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description
  public 
  
 static 
  
 Link 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description
  public 
  
 static 
  
 Link 
 . 
 Builder 
  
 newBuilder 
 ( 
 Link 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description
  public 
  
 static 
  
 Link 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Link 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description
  public 
  
 static 
  
 Parser<Link> 
  
 parser 
 () 
 
Returns
Type
Description
Parser < Link >

Methods

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides
  public 
  
 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

The bigqueryDataset.

  public 
  
 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
  public 
  
 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

The createTime.

  public 
  
 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
  public 
  
 Link 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description
  public 
  
 String 
  
 getDescription 
 () 
 

Describes this link.

The maximum length of the description is 8000 characters.

string description = 2;

Returns
Type
Description

The description.

  public 
  
 ByteString 
  
 getDescriptionBytes 
 () 
 

Describes this link.

The maximum length of the description is 8000 characters.

string description = 2;

Returns
Type
Description

The bytes for description.

  public 
  
 LifecycleState 
  
 getLifecycleState 
 () 
 

Output only. The resource lifecycle state.

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

Returns
Type
Description

The lifecycleState.

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

  public 
  
 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

The name.

  public 
  
 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

The bytes for name.

  public 
  
 Parser<Link> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Parser < Link >
Overrides
  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides
  public 
  
 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

Whether the bigqueryDataset field is set.

  public 
  
 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

Whether the createTime field is set.

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides
  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides
  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides
  public 
  
 Link 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description
  protected 
  
 Link 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides
  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides
  public 
  
 Link 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description
  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: