public static final class CreateLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateLinkRequest.Builder> implements CreateLinkRequestOrBuilder
The parameters to CreateLink.
Protobuf type google.logging.v2.CreateLinkRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateLinkRequest build()
buildPartial()
public CreateLinkRequest buildPartial()
clear()
public CreateLinkRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLink()
public CreateLinkRequest.Builder clearLink()
Required. The new link.
.google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public CreateLinkRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateLinkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateLinkRequest other)
public CreateLinkRequest.Builder mergeFrom(CreateLinkRequest other)
public CreateLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateLinkRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
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];
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 | String
The linkId to set.
|
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 | ByteString
The bytes for linkId to set.
|
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 | String
The parent to set.
|
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 | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides