public static final class Guardrail.LlmPromptSecurity.DefaultSecuritySettings extends GeneratedMessage implements Guardrail.LlmPromptSecurity.DefaultSecuritySettingsOrBuilderConfiguration for default system security settings.
Protobuf type google.cloud.ces.v1.Guardrail.LlmPromptSecurity.DefaultSecuritySettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Guardrail.LlmPromptSecurity.DefaultSecuritySettingsStatic Fields
DEFAULT_PROMPT_TEMPLATE_FIELD_NUMBER
public static final int DEFAULT_PROMPT_TEMPLATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder |
|
newBuilder(Guardrail.LlmPromptSecurity.DefaultSecuritySettings prototype)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder newBuilder(Guardrail.LlmPromptSecurity.DefaultSecuritySettings prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder |
|
parseDelimitedFrom(InputStream input)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Guardrail.LlmPromptSecurity.DefaultSecuritySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Guardrail.LlmPromptSecurity.DefaultSecuritySettings> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DefaultSecuritySettings> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Guardrail.LlmPromptSecurity.DefaultSecuritySettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings |
|
getDefaultPromptTemplate()
public String getDefaultPromptTemplate()Output only. The default prompt template used by the system. This field is for display purposes to show the user what prompt the system uses by default. It is OUTPUT_ONLY.
string default_prompt_template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The defaultPromptTemplate. |
getDefaultPromptTemplateBytes()
public ByteString getDefaultPromptTemplateBytes()Output only. The default prompt template used by the system. This field is for display purposes to show the user what prompt the system uses by default. It is OUTPUT_ONLY.
string default_prompt_template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultPromptTemplate. |
getParserForType()
public Parser<Guardrail.LlmPromptSecurity.DefaultSecuritySettings> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DefaultSecuritySettings> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder |
|
toBuilder()
public Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Guardrail.LlmPromptSecurity.DefaultSecuritySettings.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|