Class BatchCalculateEffectiveSettingsRequest.Builder (0.34.0)

See more code actions.
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

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()
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>

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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;

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

build()

public BatchCalculateEffectiveSettingsRequest build()

buildPartial()

public BatchCalculateEffectiveSettingsRequest buildPartial()

clear()

public BatchCalculateEffectiveSettingsRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchCalculateEffectiveSettingsRequest.Builder clone()
Overrides

getDefaultInstanceForType()

public BatchCalculateEffectiveSettingsRequest getDefaultInstanceForType()

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

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;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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