Class BatchCalculateEffectiveSettingsRequest.Builder (0.52.0)

public static final class BatchCalculateEffectiveSettingsRequest.Builder extends GeneratedMessageV3.Builder<BatchCalculateEffectiveSettingsRequest.Builder> implements BatchCalculateEffectiveSettingsRequestOrBuilder

Request message for BatchGetEffectiveSettings.

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

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends CalculateEffectiveSettingsRequest> values)

public BatchCalculateEffectiveSettingsRequest.Builder addAllRequests(Iterable<? extends CalculateEffectiveSettingsRequest> values)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest>
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRequests(CalculateEffectiveSettingsRequest value)

public BatchCalculateEffectiveSettingsRequest.Builder addRequests(CalculateEffectiveSettingsRequest value)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
value CalculateEffectiveSettingsRequest
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

addRequests(CalculateEffectiveSettingsRequest.Builder builderForValue)

public BatchCalculateEffectiveSettingsRequest.Builder addRequests(CalculateEffectiveSettingsRequest.Builder builderForValue)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
builderForValue CalculateEffectiveSettingsRequest.Builder
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

addRequests(int index, CalculateEffectiveSettingsRequest value)

public BatchCalculateEffectiveSettingsRequest.Builder addRequests(int index, CalculateEffectiveSettingsRequest value)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameters
Name Description
index int
value CalculateEffectiveSettingsRequest
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

addRequests(int index, CalculateEffectiveSettingsRequest.Builder builderForValue)

public BatchCalculateEffectiveSettingsRequest.Builder addRequests(int index, CalculateEffectiveSettingsRequest.Builder builderForValue)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameters
Name Description
index int
builderForValue CalculateEffectiveSettingsRequest.Builder
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

addRequestsBuilder()

public CalculateEffectiveSettingsRequest.Builder addRequestsBuilder()

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Returns
Type Description
CalculateEffectiveSettingsRequest.Builder

addRequestsBuilder(int index)

public CalculateEffectiveSettingsRequest.Builder addRequestsBuilder(int index)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
index int
Returns
Type Description
CalculateEffectiveSettingsRequest.Builder

build()

public BatchCalculateEffectiveSettingsRequest build()
Returns
Type Description
BatchCalculateEffectiveSettingsRequest

buildPartial()

public BatchCalculateEffectiveSettingsRequest buildPartial()
Returns
Type Description
BatchCalculateEffectiveSettingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchCalculateEffectiveSettingsRequest.Builder clearParent()

Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:

  • organizations/{organization}

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

Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

This builder for chaining.

clearRequests()

public BatchCalculateEffectiveSettingsRequest.Builder clearRequests()

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchCalculateEffectiveSettingsRequest getDefaultInstanceForType()
Returns
Type Description
BatchCalculateEffectiveSettingsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:

  • organizations/{organization}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:

  • organizations/{organization}

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

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public CalculateEffectiveSettingsRequest getRequests(int index)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
index int
Returns
Type Description
CalculateEffectiveSettingsRequest

getRequestsBuilder(int index)

public CalculateEffectiveSettingsRequest.Builder getRequestsBuilder(int index)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
index int
Returns
Type Description
CalculateEffectiveSettingsRequest.Builder

getRequestsBuilderList()

public List<CalculateEffectiveSettingsRequest.Builder> getRequestsBuilderList()

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Returns
Type Description
int

getRequestsList()

public List<CalculateEffectiveSettingsRequest> getRequestsList()

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Returns
Type Description
List<CalculateEffectiveSettingsRequest>

getRequestsOrBuilder(int index)

public CalculateEffectiveSettingsRequestOrBuilder getRequestsOrBuilder(int index)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
index int
Returns
Type Description
CalculateEffectiveSettingsRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CalculateEffectiveSettingsRequestOrBuilder> getRequestsOrBuilderList()

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequestOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCalculateEffectiveSettingsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRequests(int index)

public BatchCalculateEffectiveSettingsRequest.Builder removeRequests(int index)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public BatchCalculateEffectiveSettingsRequest.Builder setParent(String value)

Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:

  • organizations/{organization}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCalculateEffectiveSettingsRequest.Builder setParentBytes(ByteString value)

Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:

  • organizations/{organization}

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

This builder for chaining.

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

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

setRequests(int index, CalculateEffectiveSettingsRequest value)

public BatchCalculateEffectiveSettingsRequest.Builder setRequests(int index, CalculateEffectiveSettingsRequest value)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameters
Name Description
index int
value CalculateEffectiveSettingsRequest
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

setRequests(int index, CalculateEffectiveSettingsRequest.Builder builderForValue)

public BatchCalculateEffectiveSettingsRequest.Builder setRequests(int index, CalculateEffectiveSettingsRequest.Builder builderForValue)

The requests specifying the effective settings to retrieve. A maximum of 1000 effective settings can be retrieved in a batch.

repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;

Parameters
Name Description
index int
builderForValue CalculateEffectiveSettingsRequest.Builder
Returns
Type Description
BatchCalculateEffectiveSettingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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