Class BatchCalculateEffectiveSettingsRequest.Builder (0.32.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest>
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCalculateEffectiveSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueCalculateEffectiveSettingsRequest
Returns
TypeDescription
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
NameDescription
builderForValueCalculateEffectiveSettingsRequest.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCalculateEffectiveSettingsRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCalculateEffectiveSettingsRequest.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder

build()

public BatchCalculateEffectiveSettingsRequest build()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest

buildPartial()

public BatchCalculateEffectiveSettingsRequest buildPartial()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchCalculateEffectiveSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCalculateEffectiveSettingsRequest other)

public BatchCalculateEffectiveSettingsRequest.Builder mergeFrom(BatchCalculateEffectiveSettingsRequest other)
Parameter
NameDescription
otherBatchCalculateEffectiveSettingsRequest
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueCalculateEffectiveSettingsRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCalculateEffectiveSettingsRequest.Builder
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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