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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLanguageCode()The language of the hotel callout text.com.google.protobuf.ByteStringgetLanguageCodeBytes()The language of the hotel callout text.java.lang.StringgetText()The callout text.com.google.protobuf.ByteStringgetTextBytes()The callout text.booleanhasLanguageCode()The language of the hotel callout text.booleanhasText()The callout text.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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
java.lang.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.
-
-