public static final class AspectType.MetadataTemplate.Annotations extends GeneratedMessageV3 implements AspectType.MetadataTemplate.AnnotationsOrBuilder
Definition of the annotations of a field
Protobuf type google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations
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
public static final int DEPRECATED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISPLAY_ORDER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STRING_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STRING_VALUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static AspectType.MetadataTemplate.Annotations getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AspectType.MetadataTemplate.Annotations.Builder newBuilder()
public static AspectType.MetadataTemplate.Annotations.Builder newBuilder(AspectType.MetadataTemplate.Annotations prototype)
public static AspectType.MetadataTemplate.Annotations parseDelimitedFrom(InputStream input)
public static AspectType.MetadataTemplate.Annotations parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate.Annotations parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static AspectType.MetadataTemplate.Annotations parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate.Annotations parseFrom(ByteString data)
public static AspectType.MetadataTemplate.Annotations parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate.Annotations parseFrom(CodedInputStream input)
public static AspectType.MetadataTemplate.Annotations parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate.Annotations parseFrom(InputStream input)
public static AspectType.MetadataTemplate.Annotations parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate.Annotations parseFrom(ByteBuffer data)
public static AspectType.MetadataTemplate.Annotations parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AspectType.MetadataTemplate.Annotations> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public AspectType.MetadataTemplate.Annotations getDefaultInstanceForType()
public 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.
|
public 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.
|
public String getDescription()
Optional. Specify a description for a field
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The description.
|
public 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.
|
public String getDisplayName()
Optional. Specify a displayname for a field.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
public 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.
|
public 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.
|
public Parser<AspectType.MetadataTemplate.Annotations> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public 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.
|
public 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.
|
public 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.
|
public 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.
|
public 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.
|
public ProtocolStringList 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 |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AspectType.MetadataTemplate.Annotations.Builder newBuilderForType()
protected AspectType.MetadataTemplate.Annotations.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public AspectType.MetadataTemplate.Annotations.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides