- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.1
- 0.2.2
- 0.1.1
public static final class ApiVersion.Builder extends GeneratedMessageV3.Builder<ApiVersion.Builder> implements ApiVersionOrBuilder
Describes a particular version of an API. ApiVersions are what consumers actually use.
Protobuf type google.cloud.apigeeregistry.v1.ApiVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ApiVersion.BuilderImplements
ApiVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApiVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ApiVersion.Builder |
build()
public ApiVersion build()
Type | Description |
ApiVersion |
buildPartial()
public ApiVersion buildPartial()
Type | Description |
ApiVersion |
clear()
public ApiVersion.Builder clear()
Type | Description |
ApiVersion.Builder |
clearAnnotations()
public ApiVersion.Builder clearAnnotations()
Type | Description |
ApiVersion.Builder |
clearCreateTime()
public ApiVersion.Builder clearCreateTime()
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ApiVersion.Builder |
clearDescription()
public ApiVersion.Builder clearDescription()
A detailed description.
string description = 3;
Type | Description |
ApiVersion.Builder | This builder for chaining. |
clearDisplayName()
public ApiVersion.Builder clearDisplayName()
Human-meaningful name.
string display_name = 2;
Type | Description |
ApiVersion.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ApiVersion.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ApiVersion.Builder |
clearLabels()
public ApiVersion.Builder clearLabels()
Type | Description |
ApiVersion.Builder |
clearName()
public ApiVersion.Builder clearName()
Resource name.
string name = 1;
Type | Description |
ApiVersion.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ApiVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ApiVersion.Builder |
clearState()
public ApiVersion.Builder clearState()
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
string state = 6;
Type | Description |
ApiVersion.Builder | This builder for chaining. |
clearUpdateTime()
public ApiVersion.Builder clearUpdateTime()
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ApiVersion.Builder |
clone()
public ApiVersion.Builder clone()
Type | Description |
ApiVersion.Builder |
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 = 8;
Name | Description |
key | String |
Type | Description |
boolean |
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 = 7;
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
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 = 8;
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 = 8;
Type | Description |
Map<String,String> |
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 = 8;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
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 = 8;
Name | Description |
key | String |
Type | Description |
String |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public ApiVersion getDefaultInstanceForType()
Type | Description |
ApiVersion |
getDescription()
public String getDescription()
A detailed description.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A detailed description.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Human-meaningful name.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human-meaningful name.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
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 = 7;
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 = 7;
Type | Description |
Map<String,String> |
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 = 7;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
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 = 7;
Name | Description |
key | String |
Type | Description |
String |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Resource name.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Resource name.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getState()
public String getState()
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
string state = 6;
Type | Description |
String | The state. |
getStateBytes()
public ByteString getStateBytes()
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
string state = 6;
Type | Description |
ByteString | The bytes for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public ApiVersion.Builder mergeCreateTime(Timestamp value)
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ApiVersion.Builder |
mergeFrom(ApiVersion other)
public ApiVersion.Builder mergeFrom(ApiVersion other)
Name | Description |
other | ApiVersion |
Type | Description |
ApiVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApiVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ApiVersion.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ApiVersion.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ApiVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApiVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ApiVersion.Builder |
mergeUpdateTime(Timestamp value)
public ApiVersion.Builder mergeUpdateTime(Timestamp value)
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ApiVersion.Builder |
putAllAnnotations(Map<String,String> values)
public ApiVersion.Builder putAllAnnotations(Map<String,String> values)
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 = 8;
Name | Description |
values | Map<String,String> |
Type | Description |
ApiVersion.Builder |
putAllLabels(Map<String,String> values)
public ApiVersion.Builder putAllLabels(Map<String,String> values)
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 = 7;
Name | Description |
values | Map<String,String> |
Type | Description |
ApiVersion.Builder |
putAnnotations(String key, String value)
public ApiVersion.Builder putAnnotations(String key, String value)
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 = 8;
Name | Description |
key | String |
value | String |
Type | Description |
ApiVersion.Builder |
putLabels(String key, String value)
public ApiVersion.Builder putLabels(String key, String value)
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 = 7;
Name | Description |
key | String |
value | String |
Type | Description |
ApiVersion.Builder |
removeAnnotations(String key)
public ApiVersion.Builder removeAnnotations(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 = 8;
Name | Description |
key | String |
Type | Description |
ApiVersion.Builder |
removeLabels(String key)
public ApiVersion.Builder removeLabels(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 = 7;
Name | Description |
key | String |
Type | Description |
ApiVersion.Builder |
setCreateTime(Timestamp value)
public ApiVersion.Builder setCreateTime(Timestamp value)
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ApiVersion.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public ApiVersion.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
ApiVersion.Builder |
setDescription(String value)
public ApiVersion.Builder setDescription(String value)
A detailed description.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public ApiVersion.Builder setDescriptionBytes(ByteString value)
A detailed description.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setDisplayName(String value)
public ApiVersion.Builder setDisplayName(String value)
Human-meaningful name.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ApiVersion.Builder setDisplayNameBytes(ByteString value)
Human-meaningful name.
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ApiVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ApiVersion.Builder |
setName(String value)
public ApiVersion.Builder setName(String value)
Resource name.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ApiVersion.Builder setNameBytes(ByteString value)
Resource name.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApiVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ApiVersion.Builder |
setState(String value)
public ApiVersion.Builder setState(String value)
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
string state = 6;
Name | Description |
value | String The state to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setStateBytes(ByteString value)
public ApiVersion.Builder setStateBytes(ByteString value)
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
string state = 6;
Name | Description |
value | ByteString The bytes for state to set. |
Type | Description |
ApiVersion.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ApiVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ApiVersion.Builder |
setUpdateTime(Timestamp value)
public ApiVersion.Builder setUpdateTime(Timestamp value)
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ApiVersion.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public ApiVersion.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
ApiVersion.Builder |