Package xds.annotations.v3
Interface Versioning.VersioningAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Versioning.VersioningAnnotation
,Versioning.VersioningAnnotation.Builder
- Enclosing class:
Versioning
public static interface Versioning.VersioningAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionTrack the previous message type.com.google.protobuf.ByteString
Track the previous message type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPreviousMessageType
String getPreviousMessageType()Track the previous message type. E.g. this message might be xds.foo.v3alpha.Foo and it was previously xds.bar.v2.Bar. This information is consumed by UDPA via proto descriptors.
string previous_message_type = 1;
- Returns:
- The previousMessageType.
-
getPreviousMessageTypeBytes
com.google.protobuf.ByteString getPreviousMessageTypeBytes()Track the previous message type. E.g. this message might be xds.foo.v3alpha.Foo and it was previously xds.bar.v2.Bar. This information is consumed by UDPA via proto descriptors.
string previous_message_type = 1;
- Returns:
- The bytes for previousMessageType.
-