Class UpdateProjectIntelligenceConfigRequest (2.53.0)

public final class UpdateProjectIntelligenceConfigRequest extends GeneratedMessageV3 implements UpdateProjectIntelligenceConfigRequestOrBuilder

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

IAM Permissions:

Requires storage.intelligenceConfigs.update IAM permission on the folder.

Protobuf type google.storage.control.v2.UpdateProjectIntelligenceConfigRequest

Inheritance

Object > AbstractMessageLite > AbstractMessage > GeneratedMessageV3 > UpdateProjectIntelligenceConfigRequest

Static Fields

INTELLIGENCE_CONFIG_FIELD_NUMBER

public static final int INTELLIGENCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateProjectIntelligenceConfigRequest getDefaultInstance()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest

getDescriptor()

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

newBuilder()

public static UpdateProjectIntelligenceConfigRequest.Builder newBuilder()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest.Builder

newBuilder(UpdateProjectIntelligenceConfigRequest prototype)

public static UpdateProjectIntelligenceConfigRequest.Builder newBuilder(UpdateProjectIntelligenceConfigRequest prototype)
Parameter
Name Description
prototype UpdateProjectIntelligenceConfigRequest
Returns
Type Description
UpdateProjectIntelligenceConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateProjectIntelligenceConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectIntelligenceConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateProjectIntelligenceConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectIntelligenceConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateProjectIntelligenceConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectIntelligenceConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateProjectIntelligenceConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectIntelligenceConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateProjectIntelligenceConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectIntelligenceConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateProjectIntelligenceConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectIntelligenceConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectIntelligenceConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser parser()
Returns
Type Description
Parser<UpdateProjectIntelligenceConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateProjectIntelligenceConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest

getIntelligenceConfig()

public IntelligenceConfig getIntelligenceConfig()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntelligenceConfig

The intelligenceConfig.

getIntelligenceConfigOrBuilder()

public IntelligenceConfigOrBuilder getIntelligenceConfigOrBuilder()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntelligenceConfigOrBuilder

getParserForType()

public Parser getParserForType()
Returns
Type Description
Parser<UpdateProjectIntelligenceConfigRequest>
Overrides

getRequestId()

public String getRequestId()

Optional. The ID that uniquely identifies the request, preventing duplicate processing.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. The ID that uniquely identifies the request, preventing duplicate processing.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasIntelligenceConfig()

public boolean hasIntelligenceConfig()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the intelligenceConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateProjectIntelligenceConfigRequest.Builder newBuilderForType()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateProjectIntelligenceConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateProjectIntelligenceConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateProjectIntelligenceConfigRequest.Builder toBuilder()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException