- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class FormatMessage.Builder extends GeneratedMessageV3.Builder<FormatMessage.Builder> implements FormatMessageOrBuilder
Represents a message with parameters.
Protobuf type google.devtools.clouddebugger.v2.FormatMessage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FormatMessage.BuilderImplements
FormatMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllParameters(Iterable<String> values)
public FormatMessage.Builder addAllParameters(Iterable<String> values)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Name | Description |
values | Iterable<String> The parameters to add. |
Type | Description |
FormatMessage.Builder | This builder for chaining. |
addParameters(String value)
public FormatMessage.Builder addParameters(String value)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Name | Description |
value | String The parameters to add. |
Type | Description |
FormatMessage.Builder | This builder for chaining. |
addParametersBytes(ByteString value)
public FormatMessage.Builder addParametersBytes(ByteString value)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Name | Description |
value | ByteString The bytes of the parameters to add. |
Type | Description |
FormatMessage.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FormatMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FormatMessage.Builder |
build()
public FormatMessage build()
Type | Description |
FormatMessage |
buildPartial()
public FormatMessage buildPartial()
Type | Description |
FormatMessage |
clear()
public FormatMessage.Builder clear()
Type | Description |
FormatMessage.Builder |
clearField(Descriptors.FieldDescriptor field)
public FormatMessage.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
FormatMessage.Builder |
clearFormat()
public FormatMessage.Builder clearFormat()
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;
Type | Description |
FormatMessage.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FormatMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
FormatMessage.Builder |
clearParameters()
public FormatMessage.Builder clearParameters()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Type | Description |
FormatMessage.Builder | This builder for chaining. |
clone()
public FormatMessage.Builder clone()
Type | Description |
FormatMessage.Builder |
getDefaultInstanceForType()
public FormatMessage getDefaultInstanceForType()
Type | Description |
FormatMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFormat()
public 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;
Type | Description |
String | The format. |
getFormatBytes()
public 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;
Type | Description |
ByteString | The bytes for format. |
getParameters(int index)
public String getParameters(int index)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The parameters at the given index. |
getParametersBytes(int index)
public ByteString getParametersBytes(int index)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the parameters at the given index. |
getParametersCount()
public int getParametersCount()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Type | Description |
int | The count of parameters. |
getParametersList()
public ProtocolStringList getParametersList()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Type | Description |
ProtocolStringList | A list containing the parameters. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(FormatMessage other)
public FormatMessage.Builder mergeFrom(FormatMessage other)
Name | Description |
other | FormatMessage |
Type | Description |
FormatMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FormatMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FormatMessage.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public FormatMessage.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
FormatMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FormatMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FormatMessage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FormatMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FormatMessage.Builder |
setFormat(String value)
public FormatMessage.Builder setFormat(String value)
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;
Name | Description |
value | String The format to set. |
Type | Description |
FormatMessage.Builder | This builder for chaining. |
setFormatBytes(ByteString value)
public FormatMessage.Builder setFormatBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for format to set. |
Type | Description |
FormatMessage.Builder | This builder for chaining. |
setParameters(int index, String value)
public FormatMessage.Builder setParameters(int index, String value)
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Name | Description |
index | int The index to set the value at. |
value | String The parameters to set. |
Type | Description |
FormatMessage.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FormatMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
FormatMessage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FormatMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FormatMessage.Builder |