Package com.google.logging.v2
Interface CreateLinkRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateLinkRequest
,CreateLinkRequest.Builder
public interface CreateLinkRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Link
getLink()
Required.String
getLinkId()
Required.com.google.protobuf.ByteString
getLinkIdBytes()
Required.LinkOrBuilder
getLinkOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasLink()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasLink
boolean hasLink()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the link field is set.
-
getLink
Link getLink()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The link.
-
getLinkOrBuilder
LinkOrBuilder getLinkOrBuilder()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
-
getLinkId
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:
- The linkId.
-
getLinkIdBytes
com.google.protobuf.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:
- The bytes for linkId.
-
-