public static final class CreateLinkRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder> implements CreateLinkRequestOrBuilder
The parameters to CreateLink.Protobuf type
google.logging.v2.CreateLinkRequest
Modifier and Type | Method and Description |
---|---|
CreateLinkRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateLinkRequest |
build() |
CreateLinkRequest |
buildPartial() |
CreateLinkRequest.Builder |
clear() |
CreateLinkRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateLinkRequest.Builder |
clearLink()
Required.
|
CreateLinkRequest.Builder |
clearLinkId()
Required.
|
CreateLinkRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateLinkRequest.Builder |
clearParent()
Required.
|
CreateLinkRequest.Builder |
clone() |
CreateLinkRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Link |
getLink()
Required.
|
Link.Builder |
getLinkBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateLinkRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateLinkRequest.Builder |
mergeFrom(CreateLinkRequest other) |
CreateLinkRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateLinkRequest.Builder |
mergeLink(Link value)
Required.
|
CreateLinkRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateLinkRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateLinkRequest.Builder |
setLink(Link.Builder builderForValue)
Required.
|
CreateLinkRequest.Builder |
setLink(Link value)
Required.
|
CreateLinkRequest.Builder |
setLinkId(String value)
Required.
|
CreateLinkRequest.Builder |
setLinkIdBytes(com.google.protobuf.ByteString value)
Required.
|
CreateLinkRequest.Builder |
setParent(String value)
Required.
|
CreateLinkRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
CreateLinkRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateLinkRequest.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<CreateLinkRequest.Builder>
public CreateLinkRequest.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<CreateLinkRequest.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<CreateLinkRequest.Builder>
public CreateLinkRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CreateLinkRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CreateLinkRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CreateLinkRequest.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<CreateLinkRequest.Builder>
public CreateLinkRequest.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<CreateLinkRequest.Builder>
public CreateLinkRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>
public CreateLinkRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>
public CreateLinkRequest.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<CreateLinkRequest.Builder>
public CreateLinkRequest.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<CreateLinkRequest.Builder>
public CreateLinkRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CreateLinkRequest.Builder>
public CreateLinkRequest.Builder mergeFrom(CreateLinkRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>
public CreateLinkRequest.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<CreateLinkRequest.Builder>
IOException
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) = { ... }
getParent
in interface CreateLinkRequestOrBuilder
public 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) = { ... }
getParentBytes
in interface CreateLinkRequestOrBuilder
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) = { ... }
value
- The parent to set.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) = { ... }
public CreateLinkRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value
- The bytes for parent to set.public boolean hasLink()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
hasLink
in interface CreateLinkRequestOrBuilder
public Link getLink()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
getLink
in interface CreateLinkRequestOrBuilder
public CreateLinkRequest.Builder setLink(Link value)
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateLinkRequest.Builder setLink(Link.Builder builderForValue)
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateLinkRequest.Builder mergeLink(Link value)
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateLinkRequest.Builder clearLink()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
public Link.Builder getLinkBuilder()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
public LinkOrBuilder getLinkOrBuilder()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
getLinkOrBuilder
in interface CreateLinkRequestOrBuilder
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];
getLinkId
in interface CreateLinkRequestOrBuilder
public 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];
getLinkIdBytes
in interface CreateLinkRequestOrBuilder
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];
value
- The linkId to set.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];
public CreateLinkRequest.Builder setLinkIdBytes(com.google.protobuf.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];
value
- The bytes for linkId to set.public final CreateLinkRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>
public final CreateLinkRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.