Interface Service.EndpointSpecOrBuilder (0.2.0)

public static interface Service.EndpointSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract Struct getContent()

Optional. The content of the endpoint spec. Reserved for future use.

.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 endpoint spec. Reserved for future use.

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

Returns
Type Description
StructOrBuilder

getType()

public abstract Service.EndpointSpec.Type getType()

Required. The type of the endpoint spec content.

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

Returns
Type Description
Service.EndpointSpec.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Required. The type of the endpoint spec content.

.google.cloud.agentregistry.v1.Service.EndpointSpec.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 endpoint spec. Reserved for future use.

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

Returns
Type Description
boolean

Whether the content field is set.