Package xds.annotations.v3
Interface Migrate.FieldMigrateAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Migrate.FieldMigrateAnnotation
,Migrate.FieldMigrateAnnotation.Builder
- Enclosing class:
Migrate
public static interface Migrate.FieldMigrateAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAdd the field to a named oneof in next version.com.google.protobuf.ByteString
Add the field to a named oneof in next version.Rename the field in next version.com.google.protobuf.ByteString
Rename the field in next version.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
-
getRename
String getRename()Rename the field in next version.
string rename = 1;
- Returns:
- The rename.
-
getRenameBytes
com.google.protobuf.ByteString getRenameBytes()Rename the field in next version.
string rename = 1;
- Returns:
- The bytes for rename.
-
getOneofPromotion
String getOneofPromotion()Add the field to a named oneof in next version. If this already exists, the field will join its siblings under the oneof, otherwise a new oneof will be created with the given name.
string oneof_promotion = 2;
- Returns:
- The oneofPromotion.
-
getOneofPromotionBytes
com.google.protobuf.ByteString getOneofPromotionBytes()Add the field to a named oneof in next version. If this already exists, the field will join its siblings under the oneof, otherwise a new oneof will be created with the given name.
string oneof_promotion = 2;
- Returns:
- The bytes for oneofPromotion.
-