- 1.54.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The parameters to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The parameters to add. |
Returns | |
---|---|
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;
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)
public FormatMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
build()
public FormatMessage build()
Returns | |
---|---|
Type | Description |
FormatMessage |
buildPartial()
public FormatMessage buildPartial()
Returns | |
---|---|
Type | Description |
FormatMessage |
clear()
public FormatMessage.Builder clear()
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
clearField(Descriptors.FieldDescriptor field)
public FormatMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
FormatMessage.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FormatMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
clearParameters()
public FormatMessage.Builder clearParameters()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Returns | |
---|---|
Type | Description |
FormatMessage.Builder | This builder for chaining. |
clone()
public FormatMessage.Builder clone()
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
getDefaultInstanceForType()
public FormatMessage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FormatMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
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)
public ByteString getParametersBytes(int index)
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()
public int getParametersCount()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Returns | |
---|---|
Type | Description |
int | The count of parameters. |
getParametersList()
public ProtocolStringList getParametersList()
Optional parameters to be embedded into the message.
repeated string parameters = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the parameters. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FormatMessage other)
public FormatMessage.Builder mergeFrom(FormatMessage other)
Parameter | |
---|---|
Name | Description |
other | FormatMessage |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FormatMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FormatMessage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FormatMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FormatMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The format to set. |
Returns | |
---|---|
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;
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)
public FormatMessage.Builder setParameters(int index, String value)
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)
public FormatMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FormatMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FormatMessage.Builder |