Class CreateResourceValueConfigRequest.Builder (2.61.0)

public static final class CreateResourceValueConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateResourceValueConfigRequest.Builder> implements CreateResourceValueConfigRequestOrBuilder

Request message to create single resource value config

Protobuf type google.cloud.securitycenter.v1.CreateResourceValueConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateResourceValueConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides

build()

public CreateResourceValueConfigRequest build()
Returns
Type Description
CreateResourceValueConfigRequest

buildPartial()

public CreateResourceValueConfigRequest buildPartial()
Returns
Type Description
CreateResourceValueConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateResourceValueConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateResourceValueConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides

clearParent()

public CreateResourceValueConfigRequest.Builder clearParent()

Required. Resource name of the new ResourceValueConfig's parent.

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

Returns
Type Description
CreateResourceValueConfigRequest.Builder

This builder for chaining.

clearResourceValueConfig()

public CreateResourceValueConfigRequest.Builder clearResourceValueConfig()

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateResourceValueConfigRequest.Builder

clone()

public CreateResourceValueConfigRequest.Builder clone()
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateResourceValueConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateResourceValueConfigRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Resource name of the new ResourceValueConfig's parent.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the new ResourceValueConfig's parent.

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

Returns
Type Description
ByteString

The bytes for parent.

getResourceValueConfig()

public ResourceValueConfig getResourceValueConfig()

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceValueConfig

The resourceValueConfig.

getResourceValueConfigBuilder()

public ResourceValueConfig.Builder getResourceValueConfigBuilder()

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceValueConfig.Builder

getResourceValueConfigOrBuilder()

public ResourceValueConfigOrBuilder getResourceValueConfigOrBuilder()

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceValueConfigOrBuilder

hasResourceValueConfig()

public boolean hasResourceValueConfig()

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resourceValueConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateResourceValueConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResourceValueConfig(ResourceValueConfig value)

public CreateResourceValueConfigRequest.Builder mergeResourceValueConfig(ResourceValueConfig value)

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResourceValueConfig
Returns
Type Description
CreateResourceValueConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateResourceValueConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateResourceValueConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides

setParent(String value)

public CreateResourceValueConfigRequest.Builder setParent(String value)

Required. Resource name of the new ResourceValueConfig's parent.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateResourceValueConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateResourceValueConfigRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the new ResourceValueConfig's parent.

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
CreateResourceValueConfigRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateResourceValueConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides

setResourceValueConfig(ResourceValueConfig value)

public CreateResourceValueConfigRequest.Builder setResourceValueConfig(ResourceValueConfig value)

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResourceValueConfig
Returns
Type Description
CreateResourceValueConfigRequest.Builder

setResourceValueConfig(ResourceValueConfig.Builder builderForValue)

public CreateResourceValueConfigRequest.Builder setResourceValueConfig(ResourceValueConfig.Builder builderForValue)

Required. The resource value config being created.

.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ResourceValueConfig.Builder
Returns
Type Description
CreateResourceValueConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateResourceValueConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateResourceValueConfigRequest.Builder
Overrides