Class GetProjectIntelligenceConfigRequest.Builder (2.62.1)

public static final class GetProjectIntelligenceConfigRequest.Builder extends GeneratedMessage.Builder<GetProjectIntelligenceConfigRequest.Builder> implements GetProjectIntelligenceConfigRequestOrBuilder

Request message to get the IntelligenceConfig resource associated with your project.

IAM Permissions:

Requires storage.intelligenceConfigs.get IAM permission on the project.

Protobuf type google.storage.control.v2.GetProjectIntelligenceConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetProjectIntelligenceConfigRequest build()
Returns
Type Description
GetProjectIntelligenceConfigRequest

buildPartial()

public GetProjectIntelligenceConfigRequest buildPartial()
Returns
Type Description
GetProjectIntelligenceConfigRequest

clear()

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

clearName()

public GetProjectIntelligenceConfigRequest.Builder clearName()

Required. The name of the IntelligenceConfig resource associated with your project.

Format: projects/{id}/locations/global/intelligenceConfig

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

Returns
Type Description
GetProjectIntelligenceConfigRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetProjectIntelligenceConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetProjectIntelligenceConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the IntelligenceConfig resource associated with your project.

Format: projects/{id}/locations/global/intelligenceConfig

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the IntelligenceConfig resource associated with your project.

Format: projects/{id}/locations/global/intelligenceConfig

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(GetProjectIntelligenceConfigRequest other)

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

setName(String value)

public GetProjectIntelligenceConfigRequest.Builder setName(String value)

Required. The name of the IntelligenceConfig resource associated with your project.

Format: projects/{id}/locations/global/intelligenceConfig

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetProjectIntelligenceConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetProjectIntelligenceConfigRequest.Builder setNameBytes(ByteString value)

Required. The name of the IntelligenceConfig resource associated with your project.

Format: projects/{id}/locations/global/intelligenceConfig

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetProjectIntelligenceConfigRequest.Builder

This builder for chaining.