Class BatchCreateResourceValueConfigsRequest.Builder (2.57.0)

public static final class BatchCreateResourceValueConfigsRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateResourceValueConfigsRequest.Builder> implements BatchCreateResourceValueConfigsRequestOrBuilder

Request message to create multiple resource value configs

Protobuf type google.cloud.securitycenter.v2.BatchCreateResourceValueConfigsRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends CreateResourceValueConfigRequest> values)

public BatchCreateResourceValueConfigsRequest.Builder addAllRequests(Iterable<? extends CreateResourceValueConfigRequest> values)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v2.CreateResourceValueConfigRequest>
Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRequests(CreateResourceValueConfigRequest value)

public BatchCreateResourceValueConfigsRequest.Builder addRequests(CreateResourceValueConfigRequest value)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CreateResourceValueConfigRequest
Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

addRequests(CreateResourceValueConfigRequest.Builder builderForValue)

public BatchCreateResourceValueConfigsRequest.Builder addRequests(CreateResourceValueConfigRequest.Builder builderForValue)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

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

addRequests(int index, CreateResourceValueConfigRequest value)

public BatchCreateResourceValueConfigsRequest.Builder addRequests(int index, CreateResourceValueConfigRequest value)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateResourceValueConfigRequest
Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

addRequests(int index, CreateResourceValueConfigRequest.Builder builderForValue)

public BatchCreateResourceValueConfigsRequest.Builder addRequests(int index, CreateResourceValueConfigRequest.Builder builderForValue)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateResourceValueConfigRequest.Builder
Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

addRequestsBuilder()

public CreateResourceValueConfigRequest.Builder addRequestsBuilder()

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateResourceValueConfigRequest.Builder

addRequestsBuilder(int index)

public CreateResourceValueConfigRequest.Builder addRequestsBuilder(int index)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateResourceValueConfigRequest.Builder

build()

public BatchCreateResourceValueConfigsRequest build()
Returns
Type Description
BatchCreateResourceValueConfigsRequest

buildPartial()

public BatchCreateResourceValueConfigsRequest buildPartial()
Returns
Type Description
BatchCreateResourceValueConfigsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchCreateResourceValueConfigsRequest.Builder clearParent()

Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.

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

Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateResourceValueConfigsRequest.Builder clearRequests()

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreateResourceValueConfigsRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateResourceValueConfigsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.

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. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.

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

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public CreateResourceValueConfigRequest getRequests(int index)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateResourceValueConfigRequest

getRequestsBuilder(int index)

public CreateResourceValueConfigRequest.Builder getRequestsBuilder(int index)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateResourceValueConfigRequest.Builder

getRequestsBuilderList()

public List<CreateResourceValueConfigRequest.Builder> getRequestsBuilderList()

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<CreateResourceValueConfigRequest> getRequestsList()

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateResourceValueConfigRequest>

getRequestsOrBuilder(int index)

public CreateResourceValueConfigRequestOrBuilder getRequestsOrBuilder(int index)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateResourceValueConfigRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateResourceValueConfigRequestOrBuilder> getRequestsOrBuilderList()

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.CreateResourceValueConfigRequestOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateResourceValueConfigsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRequests(int index)

public BatchCreateResourceValueConfigsRequest.Builder removeRequests(int index)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public BatchCreateResourceValueConfigsRequest.Builder setParent(String value)

Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateResourceValueConfigsRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.

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

This builder for chaining.

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

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

setRequests(int index, CreateResourceValueConfigRequest value)

public BatchCreateResourceValueConfigsRequest.Builder setRequests(int index, CreateResourceValueConfigRequest value)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateResourceValueConfigRequest
Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

setRequests(int index, CreateResourceValueConfigRequest.Builder builderForValue)

public BatchCreateResourceValueConfigsRequest.Builder setRequests(int index, CreateResourceValueConfigRequest.Builder builderForValue)

Required. The resource value configs to be created.

repeated .google.cloud.securitycenter.v2.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateResourceValueConfigRequest.Builder
Returns
Type Description
BatchCreateResourceValueConfigsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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