Interface FormatMessageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FormatMessage
,FormatMessage.Builder
public interface FormatMessageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFormat()
Format template for the message.com.google.protobuf.ByteString
getFormatBytes()
Format template for the message.String
getParameters(int index)
Optional parameters to be embedded into the message.com.google.protobuf.ByteString
getParametersBytes(int index)
Optional parameters to be embedded into the message.int
getParametersCount()
Optional parameters to be embedded into the message.List<String>
getParametersList()
Optional parameters to be embedded into the message.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFormat
String getFormat()
Format template for the message. The `format` uses placeholders `$0`, `$1`, etc. to reference parameters. `$$` can be used to denote the `$` character. Examples: * `Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $1.`
string format = 1;
- Returns:
- The format.
-
getFormatBytes
com.google.protobuf.ByteString getFormatBytes()
Format template for the message. The `format` uses placeholders `$0`, `$1`, etc. to reference parameters. `$$` can be used to denote the `$` character. Examples: * `Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $1.`
string format = 1;
- Returns:
- The bytes for format.
-
getParametersList
List<String> getParametersList()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
- Returns:
- A list containing the parameters.
-
getParametersCount
int getParametersCount()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
- Returns:
- The count of parameters.
-
getParameters
String getParameters(int index)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The parameters at the given index.
-
getParametersBytes
com.google.protobuf.ByteString getParametersBytes(int index)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the parameters at the given index.
-
-