public final class AgentGateway extends GeneratedMessage implements AgentGatewayOrBuilder
AgentGateway represents the agent gateway resource.
Protobuf type google.cloud.networkservices.v1.AgentGateway
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AGENT_GATEWAY_CARD_FIELD_NUMBER
public static final int AGENT_GATEWAY_CARD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GOOGLE_MANAGED_FIELD_NUMBER
public static final int GOOGLE_MANAGED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NETWORK_CONFIG_FIELD_NUMBER
public static final int NETWORK_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROTOCOLS_FIELD_NUMBER
public static final int PROTOCOLS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REGISTRIES_FIELD_NUMBER
public static final int REGISTRIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_MANAGED_FIELD_NUMBER
public static final int SELF_MANAGED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AgentGateway getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AgentGateway.Builder newBuilder()
newBuilder(AgentGateway prototype)
public static AgentGateway.Builder newBuilder(AgentGateway prototype)
public static AgentGateway parseDelimitedFrom(InputStream input)
public static AgentGateway parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AgentGateway parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AgentGateway parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AgentGateway parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentGateway parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentGateway parseFrom(CodedInputStream input)
public static AgentGateway parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AgentGateway parseFrom(InputStream input)
public static AgentGateway parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AgentGateway parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AgentGateway parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AgentGateway> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Set of label tags associated with the AgentGateway resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAgentGatewayCard()
public AgentGateway.AgentGatewayOutputCard getAgentGatewayCard()
Output only. Field for populated AgentGateway card.
.google.cloud.networkservices.v1.AgentGateway.AgentGatewayOutputCard agent_gateway_card = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAgentGatewayCardOrBuilder()
public AgentGateway.AgentGatewayOutputCardOrBuilder getAgentGatewayCardOrBuilder()
Output only. Field for populated AgentGateway card.
.google.cloud.networkservices.v1.AgentGateway.AgentGatewayOutputCard agent_gateway_card = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime()
public Timestamp getCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public AgentGateway getDefaultInstanceForType()
getDeploymentModeCase()
public AgentGateway.DeploymentModeCase getDeploymentModeCase()
getDescription()
public String getDescription()
Optional. A free-text description of the resource. Max length 1024
characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. A free-text description of the resource. Max length 1024
characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getEtag()
Optional. Etag of the resource.
If this is provided, it must match the server's etag. If the provided etag
does not match the server's etag, the request will fail with a 409 ABORTED
error.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Optional. Etag of the resource.
If this is provided, it must match the server's etag. If the provided etag
does not match the server's etag, the request will fail with a 409 ABORTED
error.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for etag.
|
getGoogleManaged()
public AgentGateway.GoogleManaged getGoogleManaged()
Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant
project.
.google.cloud.networkservices.v1.AgentGateway.GoogleManaged google_managed = 8 [(.google.api.field_behavior) = OPTIONAL];
getGoogleManagedOrBuilder()
public AgentGateway.GoogleManagedOrBuilder getGoogleManagedOrBuilder()
Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant
project.
.google.cloud.networkservices.v1.AgentGateway.GoogleManaged google_managed = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional. Set of label tags associated with the AgentGateway resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Set of label tags associated with the AgentGateway resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Set of label tags associated with the AgentGateway resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Set of label tags associated with the AgentGateway resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
getName()
Identifier. Name of the AgentGateway resource. It matches pattern
projects/*/locations/*/agentGateways/<agent_gateway>.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of the AgentGateway resource. It matches pattern
projects/*/locations/*/agentGateways/<agent_gateway>.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getNetworkConfig()
public AgentGateway.NetworkConfig getNetworkConfig()
Optional. Network configuration for the AgentGateway.
.google.cloud.networkservices.v1.AgentGateway.NetworkConfig network_config = 10 [(.google.api.field_behavior) = OPTIONAL];
getNetworkConfigOrBuilder()
public AgentGateway.NetworkConfigOrBuilder getNetworkConfigOrBuilder()
Optional. Network configuration for the AgentGateway.
.google.cloud.networkservices.v1.AgentGateway.NetworkConfig network_config = 10 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<AgentGateway> getParserForType()
Overrides
getProtocols(int index) (deprecated)
public AgentGateway.Protocol getProtocols(int index)
Deprecated. google.cloud.networkservices.v1.AgentGateway.protocols is deprecated. See
google/cloud/networkservices/v1/agent_gateway.proto;l=183
Optional. Deprecated.
repeated .google.cloud.networkservices.v1.AgentGateway.Protocol protocols = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
getProtocolsCount() (deprecated)
public int getProtocolsCount()
Deprecated. google.cloud.networkservices.v1.AgentGateway.protocols is deprecated. See
google/cloud/networkservices/v1/agent_gateway.proto;l=183
Optional. Deprecated.
repeated .google.cloud.networkservices.v1.AgentGateway.Protocol protocols = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of protocols.
|
getProtocolsList() (deprecated)
public List<AgentGateway.Protocol> getProtocolsList()
Deprecated. google.cloud.networkservices.v1.AgentGateway.protocols is deprecated. See
google/cloud/networkservices/v1/agent_gateway.proto;l=183
Optional. Deprecated.
repeated .google.cloud.networkservices.v1.AgentGateway.Protocol protocols = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<Protocol> |
A list containing the protocols.
|
getProtocolsValue(int index) (deprecated)
public int getProtocolsValue(int index)
Deprecated. google.cloud.networkservices.v1.AgentGateway.protocols is deprecated. See
google/cloud/networkservices/v1/agent_gateway.proto;l=183
Optional. Deprecated.
repeated .google.cloud.networkservices.v1.AgentGateway.Protocol protocols = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire of protocols at the given index.
|
getProtocolsValueList() (deprecated)
public List<Integer> getProtocolsValueList()
Deprecated. google.cloud.networkservices.v1.AgentGateway.protocols is deprecated. See
google/cloud/networkservices/v1/agent_gateway.proto;l=183
Optional. Deprecated.
repeated .google.cloud.networkservices.v1.AgentGateway.Protocol protocols = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for protocols.
|
getRegistries(int index)
public String getRegistries(int index)
Optional. A list of Agent registries containing the agents, MCP servers and
tools governed by the Agent Gateway. Note: Currently limited to
project-scoped registries Must be of format
//agentregistry.googleapis.com/projects/{project}/locations/{location}/
repeated string registries = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The registries at the given index.
|
getRegistriesBytes(int index)
public ByteString getRegistriesBytes(int index)
Optional. A list of Agent registries containing the agents, MCP servers and
tools governed by the Agent Gateway. Note: Currently limited to
project-scoped registries Must be of format
//agentregistry.googleapis.com/projects/{project}/locations/{location}/
repeated string registries = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the registries at the given index.
|
getRegistriesCount()
public int getRegistriesCount()
Optional. A list of Agent registries containing the agents, MCP servers and
tools governed by the Agent Gateway. Note: Currently limited to
project-scoped registries Must be of format
//agentregistry.googleapis.com/projects/{project}/locations/{location}/
repeated string registries = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of registries.
|
getRegistriesList()
public ProtocolStringList getRegistriesList()
Optional. A list of Agent registries containing the agents, MCP servers and
tools governed by the Agent Gateway. Note: Currently limited to
project-scoped registries Must be of format
//agentregistry.googleapis.com/projects/{project}/locations/{location}/
repeated string registries = 13 [(.google.api.field_behavior) = OPTIONAL];
getSelfManaged()
public AgentGateway.SelfManaged getSelfManaged()
Optional. Attach to existing Application Load Balancers or Secure Web
Proxies.
.google.cloud.networkservices.v1.AgentGateway.SelfManaged self_managed = 9 [(.google.api.field_behavior) = OPTIONAL];
getSelfManagedOrBuilder()
public AgentGateway.SelfManagedOrBuilder getSelfManagedOrBuilder()
Optional. Attach to existing Application Load Balancers or Secure Web
Proxies.
.google.cloud.networkservices.v1.AgentGateway.SelfManaged self_managed = 9 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAgentGatewayCard()
public boolean hasAgentGatewayCard()
Output only. Field for populated AgentGateway card.
.google.cloud.networkservices.v1.AgentGateway.AgentGatewayOutputCard agent_gateway_card = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the agentGatewayCard field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasGoogleManaged()
public boolean hasGoogleManaged()
Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant
project.
.google.cloud.networkservices.v1.AgentGateway.GoogleManaged google_managed = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the googleManaged field is set.
|
hasNetworkConfig()
public boolean hasNetworkConfig()
Optional. Network configuration for the AgentGateway.
.google.cloud.networkservices.v1.AgentGateway.NetworkConfig network_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the networkConfig field is set.
|
hasSelfManaged()
public boolean hasSelfManaged()
Optional. Attach to existing Application Load Balancers or Secure Web
Proxies.
.google.cloud.networkservices.v1.AgentGateway.SelfManaged self_managed = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the selfManaged field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AgentGateway.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AgentGateway.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AgentGateway.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides