public final class ApiDeployment extends GeneratedMessageV3 implements ApiDeploymentOrBuilder
Describes a service running at particular address that
provides a particular version of an API. ApiDeployments have revisions which
correspond to different configurations of a single deployment in time.
Revision identifiers should be updated whenever the served API spec or
endpoint address changes.
Protobuf type google.events.cloud.apigeeregistry.v1.ApiDeployment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACCESS_GUIDANCE_FIELD_NUMBER
public static final int ACCESS_GUIDANCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
API_SPEC_REVISION_FIELD_NUMBER
public static final int API_SPEC_REVISION_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 | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENDPOINT_URI_FIELD_NUMBER
public static final int ENDPOINT_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXTERNAL_CHANNEL_URI_FIELD_NUMBER
public static final int EXTERNAL_CHANNEL_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INTENDED_AUDIENCE_FIELD_NUMBER
public static final int INTENDED_AUDIENCE_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 | |
REVISION_CREATE_TIME_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REVISION_UPDATE_TIME_FIELD_NUMBER
public static final int REVISION_UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ApiDeployment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ApiDeployment.Builder newBuilder()
newBuilder(ApiDeployment prototype)
public static ApiDeployment.Builder newBuilder(ApiDeployment prototype)
public static ApiDeployment parseDelimitedFrom(InputStream input)
public static ApiDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ApiDeployment parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ApiDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ApiDeployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ApiDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ApiDeployment parseFrom(CodedInputStream input)
public static ApiDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ApiDeployment parseFrom(InputStream input)
public static ApiDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ApiDeployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ApiDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ApiDeployment> parser()
Methods
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Annotations attach non-identifying metadata to resources.
Annotation keys and values are less restricted than those of labels, but
should be generally used for small values of broad interest. Larger, topic-
specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;
Parameter |
---|
Name | Description |
key | String
|
containsLabels(String key)
public boolean containsLabels(String key)
Labels attach identifying metadata to resources. Identifying metadata can
be used to filter list operations.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one resource (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed.
map<string, string> labels = 14;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccessGuidance()
public String getAccessGuidance()
Text briefly describing how to access the endpoint. Changes to this value
will not affect the revision.
string access_guidance = 12;
Returns |
---|
Type | Description |
String | The accessGuidance.
|
getAccessGuidanceBytes()
public ByteString getAccessGuidanceBytes()
Text briefly describing how to access the endpoint. Changes to this value
will not affect the revision.
string access_guidance = 12;
Returns |
---|
Type | Description |
ByteString | The bytes for accessGuidance.
|
getAnnotations()
public Map<String,String> getAnnotations()
getAnnotationsCount()
public int getAnnotationsCount()
Annotations attach non-identifying metadata to resources.
Annotation keys and values are less restricted than those of labels, but
should be generally used for small values of broad interest. Larger, topic-
specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;
Returns |
---|
Type | Description |
int | |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Annotations attach non-identifying metadata to resources.
Annotation keys and values are less restricted than those of labels, but
should be generally used for small values of broad interest. Larger, topic-
specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Annotations attach non-identifying metadata to resources.
Annotation keys and values are less restricted than those of labels, but
should be generally used for small values of broad interest. Larger, topic-
specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Annotations attach non-identifying metadata to resources.
Annotation keys and values are less restricted than those of labels, but
should be generally used for small values of broad interest. Larger, topic-
specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;
Parameter |
---|
Name | Description |
key | String
|
getApiSpecRevision()
public String getApiSpecRevision()
The full resource name (including revision ID) of the spec of the API being
served by the deployment. Changes to this value will update the revision.
Format: apis/{api}/deployments/{deployment}
string api_spec_revision = 8;
Returns |
---|
Type | Description |
String | The apiSpecRevision.
|
getApiSpecRevisionBytes()
public ByteString getApiSpecRevisionBytes()
The full resource name (including revision ID) of the spec of the API being
served by the deployment. Changes to this value will update the revision.
Format: apis/{api}/deployments/{deployment}
string api_spec_revision = 8;
Returns |
---|
Type | Description |
ByteString | The bytes for apiSpecRevision.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5;
getDefaultInstanceForType()
public ApiDeployment getDefaultInstanceForType()
getDescription()
public String getDescription()
A detailed description.
string description = 3;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A detailed description.
string description = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getDisplayName()
public String getDisplayName()
Human-meaningful name.
string display_name = 2;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human-meaningful name.
string display_name = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getEndpointUri()
public String getEndpointUri()
The address where the deployment is serving. Changes to this value will
update the revision.
string endpoint_uri = 9;
Returns |
---|
Type | Description |
String | The endpointUri.
|
getEndpointUriBytes()
public ByteString getEndpointUriBytes()
The address where the deployment is serving. Changes to this value will
update the revision.
string endpoint_uri = 9;
Returns |
---|
Type | Description |
ByteString | The bytes for endpointUri.
|
getExternalChannelUri()
public String getExternalChannelUri()
The address of the external channel of the API (e.g., the Developer
Portal). Changes to this value will not affect the revision.
string external_channel_uri = 10;
Returns |
---|
Type | Description |
String | The externalChannelUri.
|
getExternalChannelUriBytes()
public ByteString getExternalChannelUriBytes()
The address of the external channel of the API (e.g., the Developer
Portal). Changes to this value will not affect the revision.
string external_channel_uri = 10;
Returns |
---|
Type | Description |
ByteString | The bytes for externalChannelUri.
|
getIntendedAudience()
public String getIntendedAudience()
Text briefly identifying the intended audience of the API. Changes to this
value will not affect the revision.
string intended_audience = 11;
Returns |
---|
Type | Description |
String | The intendedAudience.
|
getIntendedAudienceBytes()
public ByteString getIntendedAudienceBytes()
Text briefly identifying the intended audience of the API. Changes to this
value will not affect the revision.
string intended_audience = 11;
Returns |
---|
Type | Description |
ByteString | The bytes for intendedAudience.
|
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels attach identifying metadata to resources. Identifying metadata can
be used to filter list operations.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one resource (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed.
map<string, string> labels = 14;
Returns |
---|
Type | Description |
int | |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels attach identifying metadata to resources. Identifying metadata can
be used to filter list operations.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one resource (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed.
map<string, string> labels = 14;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels attach identifying metadata to resources. Identifying metadata can
be used to filter list operations.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one resource (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed.
map<string, string> labels = 14;
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels attach identifying metadata to resources. Identifying metadata can
be used to filter list operations.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one resource (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed.
map<string, string> labels = 14;
Parameter |
---|
Name | Description |
key | String
|
getName()
Resource name.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Resource name.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<ApiDeployment> getParserForType()
Overrides
getRevisionCreateTime()
public Timestamp getRevisionCreateTime()
Output only. Revision creation timestamp; when the represented revision was
created.
.google.protobuf.Timestamp revision_create_time = 6;
Returns |
---|
Type | Description |
Timestamp | The revisionCreateTime.
|
getRevisionCreateTimeOrBuilder()
public TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. Revision creation timestamp; when the represented revision was
created.
.google.protobuf.Timestamp revision_create_time = 6;
getRevisionId()
public String getRevisionId()
Output only. Immutable. The revision ID of the deployment.
A new revision is committed whenever the deployment contents are changed.
The format is an 8-character hexadecimal string.
string revision_id = 4;
Returns |
---|
Type | Description |
String | The revisionId.
|
getRevisionIdBytes()
public ByteString getRevisionIdBytes()
Output only. Immutable. The revision ID of the deployment.
A new revision is committed whenever the deployment contents are changed.
The format is an 8-character hexadecimal string.
string revision_id = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for revisionId.
|
getRevisionUpdateTime()
public Timestamp getRevisionUpdateTime()
Output only. Last update timestamp: when the represented revision was last
modified.
.google.protobuf.Timestamp revision_update_time = 7;
Returns |
---|
Type | Description |
Timestamp | The revisionUpdateTime.
|
getRevisionUpdateTimeOrBuilder()
public TimestampOrBuilder getRevisionUpdateTimeOrBuilder()
Output only. Last update timestamp: when the represented revision was last
modified.
.google.protobuf.Timestamp revision_update_time = 7;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5;
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
hasRevisionCreateTime()
public boolean hasRevisionCreateTime()
Output only. Revision creation timestamp; when the represented revision was
created.
.google.protobuf.Timestamp revision_create_time = 6;
Returns |
---|
Type | Description |
boolean | Whether the revisionCreateTime field is set.
|
hasRevisionUpdateTime()
public boolean hasRevisionUpdateTime()
Output only. Last update timestamp: when the represented revision was last
modified.
.google.protobuf.Timestamp revision_update_time = 7;
Returns |
---|
Type | Description |
boolean | Whether the revisionUpdateTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ApiDeployment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ApiDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ApiDeployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides