Class BatchCreateResourceValueConfigsRequest.Builder (2.49.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.CreateResourceValueConfigRequest>
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateResourceValueConfigsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueCreateResourceValueConfigRequest
Returns
TypeDescription
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
NameDescription
builderForValueCreateResourceValueConfigRequest.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCreateResourceValueConfigRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCreateResourceValueConfigRequest.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CreateResourceValueConfigRequest.Builder

build()

public BatchCreateResourceValueConfigsRequest build()
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest

buildPartial()

public BatchCreateResourceValueConfigsRequest buildPartial()
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest

clear()

public BatchCreateResourceValueConfigsRequest.Builder clear()
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateResourceValueConfigsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateResourceValueConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder

clone()

public BatchCreateResourceValueConfigsRequest.Builder clone()
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateResourceValueConfigsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.CreateResourceValueConfigRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCreateResourceValueConfigsRequest other)

public BatchCreateResourceValueConfigsRequest.Builder mergeFrom(BatchCreateResourceValueConfigsRequest other)
Parameter
NameDescription
otherBatchCreateResourceValueConfigsRequest
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateResourceValueConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchCreateResourceValueConfigsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateResourceValueConfigsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateResourceValueConfigsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueCreateResourceValueConfigRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCreateResourceValueConfigRequest.Builder
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateResourceValueConfigsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateResourceValueConfigsRequest.Builder
Overrides