Class CustomAPIDependentRequestsConfig (0.37.0)

public final class CustomAPIDependentRequestsConfig extends GeneratedMessage implements CustomAPIDependentRequestsConfigOrBuilder

Configuration for dependent requests (child chaining).

Protobuf type google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CustomAPIDependentRequestsConfig

Static Fields

DEPENDENT_REQUESTS_FIELD_NUMBER

public static final int DEPENDENT_REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

ITEM_ID_JSON_PATH_FIELD_NUMBER

public static final int ITEM_ID_JSON_PATH_FIELD_NUMBER
Field Value
Type Description
int

ITEM_ID_VARIABLE_FIELD_NUMBER

public static final int ITEM_ID_VARIABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomAPIDependentRequestsConfig getDefaultInstance()
Returns
Type Description
CustomAPIDependentRequestsConfig

getDescriptor()

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

newBuilder()

public static CustomAPIDependentRequestsConfig.Builder newBuilder()
Returns
Type Description
CustomAPIDependentRequestsConfig.Builder

newBuilder(CustomAPIDependentRequestsConfig prototype)

public static CustomAPIDependentRequestsConfig.Builder newBuilder(CustomAPIDependentRequestsConfig prototype)
Parameter
Name Description
prototype CustomAPIDependentRequestsConfig
Returns
Type Description
CustomAPIDependentRequestsConfig.Builder

parseDelimitedFrom(InputStream input)

public static CustomAPIDependentRequestsConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomAPIDependentRequestsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomAPIDependentRequestsConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomAPIDependentRequestsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomAPIDependentRequestsConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomAPIDependentRequestsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomAPIDependentRequestsConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomAPIDependentRequestsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomAPIDependentRequestsConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomAPIDependentRequestsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomAPIDependentRequestsConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomAPIDependentRequestsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomAPIDependentRequestsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomAPIDependentRequestsConfig> parser()
Returns
Type Description
Parser<CustomAPIDependentRequestsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CustomAPIDependentRequestsConfig getDefaultInstanceForType()
Returns
Type Description
CustomAPIDependentRequestsConfig

getDependentRequests(int index)

public CustomAPITransferNode getDependentRequests(int index)

Optional. Add follow-up API calls triggered for each item found in the primary request (e.g., fetching full event details for a list of basic alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.

repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CustomAPITransferNode

getDependentRequestsCount()

public int getDependentRequestsCount()

Optional. Add follow-up API calls triggered for each item found in the primary request (e.g., fetching full event details for a list of basic alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.

repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDependentRequestsList()

public List<CustomAPITransferNode> getDependentRequestsList()

Optional. Add follow-up API calls triggered for each item found in the primary request (e.g., fetching full event details for a list of basic alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.

repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CustomAPITransferNode>

getDependentRequestsOrBuilder(int index)

public CustomAPITransferNodeOrBuilder getDependentRequestsOrBuilder(int index)

Optional. Add follow-up API calls triggered for each item found in the primary request (e.g., fetching full event details for a list of basic alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.

repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CustomAPITransferNodeOrBuilder

getDependentRequestsOrBuilderList()

public List<? extends CustomAPITransferNodeOrBuilder> getDependentRequestsOrBuilderList()

Optional. Add follow-up API calls triggered for each item found in the primary request (e.g., fetching full event details for a list of basic alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.

repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder>

getItemIdJsonPath()

public String getItemIdJsonPath()

Required. Enter the specific field in the response that uniquely identifies an individual record or alert.

string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The itemIdJsonPath.

getItemIdJsonPathBytes()

public ByteString getItemIdJsonPathBytes()

Required. Enter the specific field in the response that uniquely identifies an individual record or alert.

string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for itemIdJsonPath.

getItemIdVariable()

public String getItemIdVariable()

Optional. Specify a custom variable name to hold the extracted ID, which can be linked as a placeholder in dependent requests.

string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The itemIdVariable.

getItemIdVariableBytes()

public ByteString getItemIdVariableBytes()

Optional. Specify a custom variable name to hold the extracted ID, which can be linked as a placeholder in dependent requests.

string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for itemIdVariable.

getParserForType()

public Parser<CustomAPIDependentRequestsConfig> getParserForType()
Returns
Type Description
Parser<CustomAPIDependentRequestsConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomAPIDependentRequestsConfig.Builder newBuilderForType()
Returns
Type Description
CustomAPIDependentRequestsConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CustomAPIDependentRequestsConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomAPIDependentRequestsConfig.Builder
Overrides

toBuilder()

public CustomAPIDependentRequestsConfig.Builder toBuilder()
Returns
Type Description
CustomAPIDependentRequestsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException