Class ListCmekConfigsRequest.Builder (0.81.0)

public static final class ListCmekConfigsRequest.Builder extends GeneratedMessage.Builder<ListCmekConfigsRequest.Builder> implements ListCmekConfigsRequestOrBuilder

Request message for CmekConfigService.ListCmekConfigs method.

Protobuf type google.cloud.discoveryengine.v1.ListCmekConfigsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ListCmekConfigsRequest build()
Returns
Type Description
ListCmekConfigsRequest

buildPartial()

public ListCmekConfigsRequest buildPartial()
Returns
Type Description
ListCmekConfigsRequest

clear()

public ListCmekConfigsRequest.Builder clear()
Returns
Type Description
ListCmekConfigsRequest.Builder
Overrides

clearParent()

public ListCmekConfigsRequest.Builder clearParent()

Required. The parent location resource name, such as projects/{project}/locations/{location}.

If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListCmekConfigsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListCmekConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ListCmekConfigsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent location resource name, such as projects/{project}/locations/{location}.

If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location resource name, such as projects/{project}/locations/{location}.

If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCmekConfigsRequest other)

public ListCmekConfigsRequest.Builder mergeFrom(ListCmekConfigsRequest other)
Parameter
Name Description
other ListCmekConfigsRequest
Returns
Type Description
ListCmekConfigsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCmekConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCmekConfigsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListCmekConfigsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListCmekConfigsRequest.Builder
Overrides

setParent(String value)

public ListCmekConfigsRequest.Builder setParent(String value)

Required. The parent location resource name, such as projects/{project}/locations/{location}.

If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListCmekConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListCmekConfigsRequest.Builder setParentBytes(ByteString value)

Required. The parent location resource name, such as projects/{project}/locations/{location}.

If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListCmekConfigsRequest.Builder

This builder for chaining.