Class AgentGatewaySetting (0.90.0)

public final class AgentGatewaySetting extends GeneratedMessage implements AgentGatewaySettingOrBuilder

Agent Gateway setting, which may be attached to Gemini Enterprise resources for egress control of Gemini Enterprise agents to agents and tools outside of Gemini Enterprise.

Protobuf type google.cloud.discoveryengine.v1beta.AgentGatewaySetting

Static Fields

DEFAULT_EGRESS_AGENT_GATEWAY_FIELD_NUMBER

public static final int DEFAULT_EGRESS_AGENT_GATEWAY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentGatewaySetting getDefaultInstance()
Returns
Type Description
AgentGatewaySetting

getDescriptor()

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

newBuilder()

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

newBuilder(AgentGatewaySetting prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultEgressAgentGateway()

public AgentGatewaySetting.AgentGatewayReference getDefaultEgressAgentGateway()

Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource.

The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE.

.google.cloud.discoveryengine.v1beta.AgentGatewaySetting.AgentGatewayReference default_egress_agent_gateway = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGatewaySetting.AgentGatewayReference

The defaultEgressAgentGateway.

getDefaultEgressAgentGatewayOrBuilder()

public AgentGatewaySetting.AgentGatewayReferenceOrBuilder getDefaultEgressAgentGatewayOrBuilder()

Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource.

The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE.

.google.cloud.discoveryengine.v1beta.AgentGatewaySetting.AgentGatewayReference default_egress_agent_gateway = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentGatewaySetting.AgentGatewayReferenceOrBuilder

getDefaultInstanceForType()

public AgentGatewaySetting getDefaultInstanceForType()
Returns
Type Description
AgentGatewaySetting

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDefaultEgressAgentGateway()

public boolean hasDefaultEgressAgentGateway()

Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource.

The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE.

.google.cloud.discoveryengine.v1beta.AgentGatewaySetting.AgentGatewayReference default_egress_agent_gateway = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the defaultEgressAgentGateway field is set.

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 AgentGatewaySetting.Builder newBuilderForType()
Returns
Type Description
AgentGatewaySetting.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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