Class BatchCalculateEffectiveSettingsRequest (0.38.0)

public final class BatchCalculateEffectiveSettingsRequest extends GeneratedMessageV3 implements BatchCalculateEffectiveSettingsRequestOrBuilder

Request message for BatchGetEffectiveSettings.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchCalculateEffectiveSettingsRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchCalculateEffectiveSettingsRequest getDefaultInstance()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchCalculateEffectiveSettingsRequest.Builder newBuilder()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder

newBuilder(BatchCalculateEffectiveSettingsRequest prototype)

public static BatchCalculateEffectiveSettingsRequest.Builder newBuilder(BatchCalculateEffectiveSettingsRequest prototype)
Parameter
NameDescription
prototypeBatchCalculateEffectiveSettingsRequest
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchCalculateEffectiveSettingsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCalculateEffectiveSettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchCalculateEffectiveSettingsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCalculateEffectiveSettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCalculateEffectiveSettingsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCalculateEffectiveSettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCalculateEffectiveSettingsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCalculateEffectiveSettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchCalculateEffectiveSettingsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCalculateEffectiveSettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchCalculateEffectiveSettingsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCalculateEffectiveSettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchCalculateEffectiveSettingsRequest> parser()
Returns
TypeDescription
Parser<BatchCalculateEffectiveSettingsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchCalculateEffectiveSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest

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.

getParserForType()

public Parser<BatchCalculateEffectiveSettingsRequest> getParserForType()
Returns
TypeDescription
Parser<BatchCalculateEffectiveSettingsRequest>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchCalculateEffectiveSettingsRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCalculateEffectiveSettingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchCalculateEffectiveSettingsRequest.Builder toBuilder()
Returns
TypeDescription
BatchCalculateEffectiveSettingsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException