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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>public CreateLinkRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateLinkRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateLinkRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateLinkRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateLinkRequest.Builder>IOExceptionpublic 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 CreateLinkRequestOrBuilderpublic 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 CreateLinkRequestOrBuilderpublic 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 CreateLinkRequestOrBuilderpublic Link getLink()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];getLink in interface CreateLinkRequestOrBuilderpublic 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 CreateLinkRequestOrBuilderpublic 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 CreateLinkRequestOrBuilderpublic 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 CreateLinkRequestOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateLinkRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.