Interface CreateLinkRequestOrBuilder (3.21.0)

public interface CreateLinkRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

public abstract Link getLink()

Required. The new link.

.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Link

The link.

getLinkId()

public abstract String getLinkId()

Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

string link_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The linkId.

getLinkIdBytes()

public abstract ByteString getLinkIdBytes()

Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

string link_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for linkId.

getLinkOrBuilder()

public abstract LinkOrBuilder getLinkOrBuilder()

Required. The new link.

.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LinkOrBuilder

getParent()

public abstract String getParent()

Required. The full resource name of the bucket to create a link for.

 "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
 "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
 "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The full resource name of the bucket to create a link for.

 "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
 "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
 "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

public abstract boolean hasLink()

Required. The new link.

.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the link field is set.