Interface HotelCalloutFeedItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HotelCalloutFeedItem,HotelCalloutFeedItem.Builder
public interface HotelCalloutFeedItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe language of the hotel callout text.com.google.protobuf.ByteStringThe language of the hotel callout text.getText()The callout text.com.google.protobuf.ByteStringThe callout text.booleanThe language of the hotel callout text.booleanhasText()The callout text.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasText
boolean hasText()The callout text. The length of this string should be between 1 and 25, inclusive.
optional string text = 3;- Returns:
- Whether the text field is set.
-
getText
String getText()The callout text. The length of this string should be between 1 and 25, inclusive.
optional string text = 3;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()The callout text. The length of this string should be between 1 and 25, inclusive.
optional string text = 3;- Returns:
- The bytes for text.
-
hasLanguageCode
boolean hasLanguageCode()The language of the hotel callout text. IETF BCP 47 compliant language code.
optional string language_code = 4;- Returns:
- Whether the languageCode field is set.
-
getLanguageCode
String getLanguageCode()The language of the hotel callout text. IETF BCP 47 compliant language code.
optional string language_code = 4;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()The language of the hotel callout text. IETF BCP 47 compliant language code.
optional string language_code = 4;- Returns:
- The bytes for languageCode.
-