Interface Service.AgentSpecOrBuilder (0.2.0)

public static interface Service.AgentSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract Struct getContent()

Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to 10KB.

.google.protobuf.Struct content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The content.

getContentOrBuilder()

public abstract StructOrBuilder getContentOrBuilder()

Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to 10KB.

.google.protobuf.Struct content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getType()

public abstract Service.AgentSpec.Type getType()

Required. The type of the agent spec content.

.google.cloud.agentregistry.v1.Service.AgentSpec.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Service.AgentSpec.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Required. The type of the agent spec content.

.google.cloud.agentregistry.v1.Service.AgentSpec.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasContent()

public abstract boolean hasContent()

Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to 10KB.

.google.protobuf.Struct content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the content field is set.