Class FormatMessage.Builder (1.59.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.60.0 (latest)
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 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
publicstaticfinalclass FormatMessage.BuilderextendsGeneratedMessageV3.Builder<FormatMessage.Builder>implementsFormatMessageOrBuilderRepresents a message with parameters.
Protobuf type google.devtools.clouddebugger.v2.FormatMessage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FormatMessage.BuilderImplements
FormatMessageOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllParameters(Iterable<String> values)
publicFormatMessage.BuilderaddAllParameters(Iterable<String>values)Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The parameters to add. |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
addParameters(String value)
publicFormatMessage.BuilderaddParameters(Stringvalue)Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The parameters to add. |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
addParametersBytes(ByteString value)
publicFormatMessage.BuilderaddParametersBytes(ByteStringvalue)Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the parameters to add. |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicFormatMessage.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
build()
publicFormatMessagebuild()| Returns | |
|---|---|
| Type | Description |
FormatMessage |
|
buildPartial()
publicFormatMessagebuildPartial()| Returns | |
|---|---|
| Type | Description |
FormatMessage |
|
clear()
publicFormatMessage.Builderclear()| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicFormatMessage.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
clearFormat()
publicFormatMessage.BuilderclearFormat() 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 | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicFormatMessage.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
clearParameters()
publicFormatMessage.BuilderclearParameters()Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
clone()
publicFormatMessage.Builderclone()| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
getDefaultInstanceForType()
publicFormatMessagegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FormatMessage |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFormat()
publicStringgetFormat() 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 | |
|---|---|
| Type | Description |
String |
The format. |
getFormatBytes()
publicByteStringgetFormatBytes() 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for format. |
getParameters(int index)
publicStringgetParameters(intindex)Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The parameters at the given index. |
getParametersBytes(int index)
publicByteStringgetParametersBytes(intindex)Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the parameters at the given index. |
getParametersCount()
publicintgetParametersCount()Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of parameters. |
getParametersList()
publicProtocolStringListgetParametersList()Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the parameters. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FormatMessage other)
publicFormatMessage.BuildermergeFrom(FormatMessageother)| Parameter | |
|---|---|
| Name | Description |
other |
FormatMessage |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicFormatMessage.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicFormatMessage.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalFormatMessage.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicFormatMessage.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
setFormat(String value)
publicFormatMessage.BuildersetFormat(Stringvalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The format to set. |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
setFormatBytes(ByteString value)
publicFormatMessage.BuildersetFormatBytes(ByteStringvalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for format to set. |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
setParameters(int index, String value)
publicFormatMessage.BuildersetParameters(intindex,Stringvalue)Optional parameters to be embedded into the message.
repeated string parameters = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The parameters to set. |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicFormatMessage.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalFormatMessage.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FormatMessage.Builder |
|