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.v1.BatchCreateResourceValueConfigsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v1.CreateResourceValueConfigRequest>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateResourceValueConfigsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRequests(CreateResourceValueConfigRequest value)
public BatchCreateResourceValueConfigsRequest.Builder addRequests(CreateResourceValueConfigRequest value)
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(CreateResourceValueConfigRequest.Builder builderForValue)
public BatchCreateResourceValueConfigsRequest.Builder addRequests(CreateResourceValueConfigRequest.Builder builderForValue)
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder()
public CreateResourceValueConfigRequest.Builder addRequestsBuilder()
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder(int index)
public CreateResourceValueConfigRequest.Builder addRequestsBuilder(int index)
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
build()
public BatchCreateResourceValueConfigsRequest build()
buildPartial()
public BatchCreateResourceValueConfigsRequest buildPartial()
clear()
public BatchCreateResourceValueConfigsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateResourceValueConfigsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateResourceValueConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clearRequests()
public BatchCreateResourceValueConfigsRequest.Builder clearRequests()
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public BatchCreateResourceValueConfigsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateResourceValueConfigsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsBuilder(int index)
public CreateResourceValueConfigRequest.Builder getRequestsBuilder(int index)
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsBuilderList()
public List<CreateResourceValueConfigRequest.Builder> getRequestsBuilderList()
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsCount()
public int getRequestsCount()
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.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.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder(int index)
public CreateResourceValueConfigRequestOrBuilder getRequestsOrBuilder(int index)
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsOrBuilderList()
public List<? extends CreateResourceValueConfigRequestOrBuilder> getRequestsOrBuilderList()
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v1.CreateResourceValueConfigRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateResourceValueConfigsRequest other)
public BatchCreateResourceValueConfigsRequest.Builder mergeFrom(BatchCreateResourceValueConfigsRequest other)
public BatchCreateResourceValueConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateResourceValueConfigsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateResourceValueConfigsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRequests(int index)
public BatchCreateResourceValueConfigsRequest.Builder removeRequests(int index)
Required. The resource value configs to be created.
repeated .google.cloud.securitycenter.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateResourceValueConfigsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateResourceValueConfigsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1.CreateResourceValueConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateResourceValueConfigsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides