public static final class CustomAPIResponseConfig.Builder extends GeneratedMessage.Builder<CustomAPIResponseConfig.Builder> implements CustomAPIResponseConfigOrBuilderConfiguration for handling the API response.
Protobuf type google.cloud.chronicle.v1.CustomAPIResponseConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomAPIResponseConfig.BuilderImplements
CustomAPIResponseConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTargetDataPath(Iterable<String> values)
public CustomAPIResponseConfig.Builder addAllTargetDataPath(Iterable<String> values)Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The targetDataPath to add. |
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
This builder for chaining. |
addTargetDataPath(String value)
public CustomAPIResponseConfig.Builder addTargetDataPath(String value)Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetDataPath to add. |
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
This builder for chaining. |
addTargetDataPathBytes(ByteString value)
public CustomAPIResponseConfig.Builder addTargetDataPathBytes(ByteString value)Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the targetDataPath to add. |
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
This builder for chaining. |
build()
public CustomAPIResponseConfig build()| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig |
|
buildPartial()
public CustomAPIResponseConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig |
|
clear()
public CustomAPIResponseConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
|
clearTargetDataPath()
public CustomAPIResponseConfig.Builder clearTargetDataPath()Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CustomAPIResponseConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTargetDataPath(int index)
public String getTargetDataPath(int index)Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The targetDataPath at the given index. |
getTargetDataPathBytes(int index)
public ByteString getTargetDataPathBytes(int index)Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the targetDataPath at the given index. |
getTargetDataPathCount()
public int getTargetDataPathCount()Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of targetDataPath. |
getTargetDataPathList()
public ProtocolStringList getTargetDataPathList()Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the targetDataPath. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CustomAPIResponseConfig other)
public CustomAPIResponseConfig.Builder mergeFrom(CustomAPIResponseConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomAPIResponseConfig |
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomAPIResponseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomAPIResponseConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
|
setTargetDataPath(int index, String value)
public CustomAPIResponseConfig.Builder setTargetDataPath(int index, String value)Required. Enter the exact path in the API's response payload where the list of target log entries is located.
repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe targetDataPath to set. |
| Returns | |
|---|---|
| Type | Description |
CustomAPIResponseConfig.Builder |
This builder for chaining. |