public static final class Link.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder> implements LinkOrBuilder
Describes a link connected to an analytics enabled bucket.Protobuf type
google.logging.v2.Link
Modifier and Type | Method and Description |
---|---|
Link.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Link |
build() |
Link |
buildPartial() |
Link.Builder |
clear() |
Link.Builder |
clearBigqueryDataset()
The information of a BigQuery Dataset.
|
Link.Builder |
clearCreateTime()
Output only.
|
Link.Builder |
clearDescription()
Describes this link.
|
Link.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Link.Builder |
clearLifecycleState()
Output only.
|
Link.Builder |
clearName()
The resource name of the link.
|
Link.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Link.Builder |
clone() |
BigQueryDataset |
getBigqueryDataset()
The information of a BigQuery Dataset.
|
BigQueryDataset.Builder |
getBigqueryDatasetBuilder()
The information of a BigQuery Dataset.
|
BigQueryDatasetOrBuilder |
getBigqueryDatasetOrBuilder()
The information of a BigQuery Dataset.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Link |
getDefaultInstanceForType() |
String |
getDescription()
Describes this link.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Describes this link.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LifecycleState |
getLifecycleState()
Output only.
|
int |
getLifecycleStateValue()
Output only.
|
String |
getName()
The resource name of the link.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the link.
|
boolean |
hasBigqueryDataset()
The information of a BigQuery Dataset.
|
boolean |
hasCreateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Link.Builder |
mergeBigqueryDataset(BigQueryDataset value)
The information of a BigQuery Dataset.
|
Link.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Link.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Link.Builder |
mergeFrom(Link other) |
Link.Builder |
mergeFrom(com.google.protobuf.Message other) |
Link.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Link.Builder |
setBigqueryDataset(BigQueryDataset.Builder builderForValue)
The information of a BigQuery Dataset.
|
Link.Builder |
setBigqueryDataset(BigQueryDataset value)
The information of a BigQuery Dataset.
|
Link.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Link.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Link.Builder |
setDescription(String value)
Describes this link.
|
Link.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Describes this link.
|
Link.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Link.Builder |
setLifecycleState(LifecycleState value)
Output only.
|
Link.Builder |
setLifecycleStateValue(int value)
Output only.
|
Link.Builder |
setName(String value)
The resource name of the link.
|
Link.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the link.
|
Link.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Link.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Link build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Link buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Link.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Link.Builder>
public Link.Builder mergeFrom(Link other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public Link.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Link.Builder>
IOException
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;
getName
in interface LinkOrBuilder
public 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;
getNameBytes
in interface LinkOrBuilder
public Link.Builder setName(String value)
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;
value
- The name to set.public Link.Builder clearName()
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;
public Link.Builder setNameBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for name to set.public String getDescription()
Describes this link. The maximum length of the description is 8000 characters.
string description = 2;
getDescription
in interface LinkOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
Describes this link. The maximum length of the description is 8000 characters.
string description = 2;
getDescriptionBytes
in interface LinkOrBuilder
public Link.Builder setDescription(String value)
Describes this link. The maximum length of the description is 8000 characters.
string description = 2;
value
- The description to set.public Link.Builder clearDescription()
Describes this link. The maximum length of the description is 8000 characters.
string description = 2;
public Link.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Describes this link. The maximum length of the description is 8000 characters.
string description = 2;
value
- The bytes for description to set.public boolean hasCreateTime()
Output only. The creation timestamp of the link.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface LinkOrBuilder
public 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];
getCreateTime
in interface LinkOrBuilder
public Link.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of the link.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Link.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation timestamp of the link.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Link.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of the link.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Link.Builder clearCreateTime()
Output only. The creation timestamp of the link.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of the link.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getCreateTimeOrBuilder
in interface LinkOrBuilder
public int getLifecycleStateValue()
Output only. The resource lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLifecycleStateValue
in interface LinkOrBuilder
public Link.Builder setLifecycleStateValue(int value)
Output only. The resource lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The enum numeric value on the wire for lifecycleState to set.public LifecycleState getLifecycleState()
Output only. The resource lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLifecycleState
in interface LinkOrBuilder
public Link.Builder setLifecycleState(LifecycleState value)
Output only. The resource lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The lifecycleState to set.public Link.Builder clearLifecycleState()
Output only. The resource lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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;
hasBigqueryDataset
in interface LinkOrBuilder
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;
getBigqueryDataset
in interface LinkOrBuilder
public Link.Builder setBigqueryDataset(BigQueryDataset value)
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;
public Link.Builder setBigqueryDataset(BigQueryDataset.Builder builderForValue)
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;
public Link.Builder mergeBigqueryDataset(BigQueryDataset value)
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;
public Link.Builder clearBigqueryDataset()
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;
public BigQueryDataset.Builder getBigqueryDatasetBuilder()
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;
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;
getBigqueryDatasetOrBuilder
in interface LinkOrBuilder
public final Link.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
public final Link.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Link.Builder>
Copyright © 2023 Google LLC. All rights reserved.