Interface CreateApiVersionRequestOrBuilder (0.51.0)

public interface CreateApiVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiVersion()

public abstract ApiVersion getApiVersion()

Required. The version to create.

.google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiVersion

The apiVersion.

getApiVersionId()

public abstract String getApiVersionId()

Required. The ID to use for the version, which will become the final component of the version's resource name.

This value should be 1-63 characters, and valid characters are /a-z-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apiVersionId.

getApiVersionIdBytes()

public abstract ByteString getApiVersionIdBytes()

Required. The ID to use for the version, which will become the final component of the version's resource name.

This value should be 1-63 characters, and valid characters are /a-z-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apiVersionId.

getApiVersionOrBuilder()

public abstract ApiVersionOrBuilder getApiVersionOrBuilder()

Required. The version to create.

.google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiVersionOrBuilder

getParent()

public abstract String getParent()

Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasApiVersion()

public abstract boolean hasApiVersion()

Required. The version to create.

.google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the apiVersion field is set.