public static final class CreateLinkRequest.Builder extends GeneratedMessage.Builder<CreateLinkRequest.Builder> implements CreateLinkRequestOrBuilderThe parameters to CreateLink.
Protobuf type google.logging.v2.CreateLinkRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateLinkRequest.BuilderImplements
CreateLinkRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateLinkRequest build()| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest |
|
buildPartial()
public CreateLinkRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest |
|
clear()
public CreateLinkRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
clearLink()
public CreateLinkRequest.Builder clearLink()Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
clearLinkId()
public CreateLinkRequest.Builder clearLinkId()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 |
CreateLinkRequest.Builder |
This builder for chaining. |
clearParent()
public CreateLinkRequest.Builder clearParent()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 |
CreateLinkRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateLinkRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLink()
public Link getLink()Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Link |
The link. |
getLinkBuilder()
public Link.Builder getLinkBuilder()Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Link.Builder |
|
getLinkId()
public 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 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 LinkOrBuilder getLinkOrBuilder()Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LinkOrBuilder |
|
getParent()
public 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 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. |
hasLink()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateLinkRequest other)
public CreateLinkRequest.Builder mergeFrom(CreateLinkRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateLinkRequest |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateLinkRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
mergeLink(Link value)
public CreateLinkRequest.Builder mergeLink(Link value)Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Link |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
setLink(Link value)
public CreateLinkRequest.Builder setLink(Link value)Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Link |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
setLink(Link.Builder builderForValue)
public CreateLinkRequest.Builder setLink(Link.Builder builderForValue)Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Link.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
|
setLinkId(String value)
public CreateLinkRequest.Builder setLinkId(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe linkId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
This builder for chaining. |
setLinkIdBytes(ByteString value)
public CreateLinkRequest.Builder setLinkIdBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for linkId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateLinkRequest.Builder setParent(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateLinkRequest.Builder setParentBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest.Builder |
This builder for chaining. |