Interface CreateApiVersionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateApiVersionRequest
,CreateApiVersionRequest.Builder
public interface CreateApiVersionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiVersion
getApiVersion()
Required.String
getApiVersionId()
Required.com.google.protobuf.ByteString
getApiVersionIdBytes()
Required.ApiVersionOrBuilder
getApiVersionOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasApiVersion()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasApiVersion
boolean hasApiVersion()
Required. The version to create.
.google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the apiVersion field is set.
-
getApiVersion
ApiVersion getApiVersion()
Required. The version to create.
.google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The apiVersion.
-
getApiVersionOrBuilder
ApiVersionOrBuilder getApiVersionOrBuilder()
Required. The version to create.
.google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED];
-
getApiVersionId
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][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The apiVersionId.
-
getApiVersionIdBytes
com.google.protobuf.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][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for apiVersionId.
-
-