public final class Link extends GeneratedMessageV3 implements LinkOrBuilder
Describes a link connected to an analytics enabled bucket.
Protobuf type google.logging.v2.Link
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
BIGQUERY_DATASET_FIELD_NUMBER
public static final int BIGQUERY_DATASET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LIFECYCLE_STATE_FIELD_NUMBER
public static final int LIFECYCLE_STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Link getDefaultInstance()
Returns |
---|
Type | Description |
Link | |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Link.Builder newBuilder()
newBuilder(Link prototype)
public static Link.Builder newBuilder(Link prototype)
Parameter |
---|
Name | Description |
prototype | Link
|
public static Link parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Link | |
public static Link parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Link | |
parseFrom(byte[] data)
public static Link parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Link | |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Link parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Link | |
parseFrom(ByteString data)
public static Link parseFrom(ByteString data)
Returns |
---|
Type | Description |
Link | |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Link parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Link | |
public static Link parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Link | |
public static Link parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Link | |
public static Link parseFrom(InputStream input)
Returns |
---|
Type | Description |
Link | |
public static Link parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Link | |
parseFrom(ByteBuffer data)
public static Link parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Link | |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Link parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Link | |
parser()
public static Parser<Link> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBigqueryDataset()
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;
getBigqueryDatasetOrBuilder()
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;
getCreateTime()
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 |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of the link.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Link getDefaultInstanceForType()
Returns |
---|
Type | Description |
Link | |
getDescription()
public 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 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 LifecycleState getLifecycleState()
Output only. The resource lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLifecycleStateValue()
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.
|
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 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.
|
getParserForType()
public Parser<Link> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasBigqueryDataset()
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 |
boolean | Whether the bigqueryDataset field is set.
|
hasCreateTime()
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 |
boolean | Whether the createTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Link.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Link.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Link.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides