Class UpdateComponentSettingsRequest (0.32.0)

public final class UpdateComponentSettingsRequest extends GeneratedMessageV3 implements UpdateComponentSettingsRequestOrBuilder

Request message for UpdateComponentSettings.

Protobuf type google.cloud.securitycenter.settings.v1beta1.UpdateComponentSettingsRequest

Inheritance

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

Static Fields

COMPONENT_SETTINGS_FIELD_NUMBER

public static final int COMPONENT_SETTINGS_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 UpdateComponentSettingsRequest getDefaultInstance()
Returns
TypeDescription
UpdateComponentSettingsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateComponentSettingsRequest prototype)

public static UpdateComponentSettingsRequest.Builder newBuilder(UpdateComponentSettingsRequest prototype)
Parameter
NameDescription
prototypeUpdateComponentSettingsRequest
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getComponentSettings()

public ComponentSettings getComponentSettings()

Required. The component settings to update.

The component settings' name field is used to identify the component settings to be updated. Formats:

  • organizations/{organization}/components/{component}/settings
  • folders/{folder}/components/{component}/settings
  • projects/{project}/components/{component}/settings
  • projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
  • projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
  • projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings

.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ComponentSettings

The componentSettings.

getComponentSettingsOrBuilder()

public ComponentSettingsOrBuilder getComponentSettingsOrBuilder()

Required. The component settings to update.

The component settings' name field is used to identify the component settings to be updated. Formats:

  • organizations/{organization}/components/{component}/settings
  • folders/{folder}/components/{component}/settings
  • projects/{project}/components/{component}/settings
  • projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
  • projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
  • projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings

.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ComponentSettingsOrBuilder

getDefaultInstanceForType()

public UpdateComponentSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateComponentSettingsRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated on the component settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated on the component settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasComponentSettings()

public boolean hasComponentSettings()

Required. The component settings to update.

The component settings' name field is used to identify the component settings to be updated. Formats:

  • organizations/{organization}/components/{component}/settings
  • folders/{folder}/components/{component}/settings
  • projects/{project}/components/{component}/settings
  • projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
  • projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
  • projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings

.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the componentSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated on the component settings resource.

.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 UpdateComponentSettingsRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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