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. You can include a deprecation
message.
string deprecated = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The deprecated.
|
public ByteString getDeprecatedBytes()
Optional. Marks a field as deprecated. You can include a deprecation
message.
string deprecated = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for deprecated.
|
public String getDescription()
Optional. Description for a field.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The description.
|
public ByteString getDescriptionBytes()
Optional. Description for a field.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
public String getDisplayName()
Optional. Display name for a field.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
Optional. Display name for a field.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
public int getDisplayOrder()
Optional. Display order for a field. You can use this 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. You can use String Type annotations 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. You can use String Type annotations 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. You can use them to
suggest values to users through console.
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. You can use them to
suggest values to users through console.
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. You can use them to
suggest values to users through console.
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. You can use them to
suggest values to users through console.
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