Class UpdateResourceValueConfigRequest (2.47.0)

public final class UpdateResourceValueConfigRequest extends GeneratedMessageV3 implements UpdateResourceValueConfigRequestOrBuilder

Request message to update resource value config

Protobuf type google.cloud.securitycenter.v2.UpdateResourceValueConfigRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateResourceValueConfigRequest

Static Fields

RESOURCE_VALUE_CONFIG_FIELD_NUMBER

public static final int RESOURCE_VALUE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateResourceValueConfigRequest getDefaultInstance()
Returns
TypeDescription
UpdateResourceValueConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateResourceValueConfigRequest.Builder newBuilder()
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder

newBuilder(UpdateResourceValueConfigRequest prototype)

public static UpdateResourceValueConfigRequest.Builder newBuilder(UpdateResourceValueConfigRequest prototype)
Parameter
NameDescription
prototypeUpdateResourceValueConfigRequest
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateResourceValueConfigRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateResourceValueConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateResourceValueConfigRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateResourceValueConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateResourceValueConfigRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateResourceValueConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateResourceValueConfigRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateResourceValueConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateResourceValueConfigRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateResourceValueConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateResourceValueConfigRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateResourceValueConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateResourceValueConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateResourceValueConfigRequest> parser()
Returns
TypeDescription
Parser<UpdateResourceValueConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateResourceValueConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateResourceValueConfigRequest

getParserForType()

public Parser<UpdateResourceValueConfigRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateResourceValueConfigRequest>
Overrides

getResourceValueConfig()

public ResourceValueConfig getResourceValueConfig()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ResourceValueConfig

The resourceValueConfig.

getResourceValueConfigOrBuilder()

public ResourceValueConfigOrBuilder getResourceValueConfigOrBuilder()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ResourceValueConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasResourceValueConfig()

public boolean hasResourceValueConfig()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the resourceValueConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateResourceValueConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateResourceValueConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateResourceValueConfigRequest.Builder toBuilder()
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException