- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static interface AspectType.MetadataTemplate.AnnotationsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDeprecated()
public abstract String getDeprecated()
Optional. Marks a field as deprecated, a deprecation message can be included.
string deprecated = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The deprecated. |
getDeprecatedBytes()
public abstract ByteString getDeprecatedBytes()
Optional. Marks a field as deprecated, a deprecation message can be included.
string deprecated = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for deprecated. |
getDescription()
public abstract String getDescription()
Optional. Specify a description for a field
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. Specify a description for a field
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDisplayName()
public abstract String getDisplayName()
Optional. Specify a displayname for a field.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
Optional. Specify a displayname for a field.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getDisplayOrder()
public abstract int getDisplayOrder()
Optional. Specify a display order for a field. Display order can be used to reorder where a field is rendered
int32 display_order = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The displayOrder. |
getStringType()
public abstract String getStringType()
Optional. String Type annotations can be used to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified url link. resource: A service qualified resource reference.
string string_type = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The stringType. |
getStringTypeBytes()
public abstract ByteString getStringTypeBytes()
Optional. String Type annotations can be used to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified url link. resource: A service qualified resource reference.
string string_type = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stringType. |
getStringValues(int index)
public abstract String getStringValues(int index)
Optional. Suggested hints for string fields. These can be used to suggest values to users, through an UI for example.
repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The stringValues at the given index. |
getStringValuesBytes(int index)
public abstract ByteString getStringValuesBytes(int index)
Optional. Suggested hints for string fields. These can be used to suggest values to users, through an UI for example.
repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the stringValues at the given index. |
getStringValuesCount()
public abstract int getStringValuesCount()
Optional. Suggested hints for string fields. These can be used to suggest values to users, through an UI for example.
repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The count of stringValues. |
getStringValuesList()
public abstract List<String> getStringValuesList()
Optional. Suggested hints for string fields. These can be used to suggest values to users, through an UI for example.
repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<String> | A list containing the stringValues. |