Class ClientInfo.Builder (0.14.1)

public static final class ClientInfo.Builder extends GeneratedMessageV3.Builder<ClientInfo.Builder> implements ClientInfoOrBuilder

Information about the client which invoked the test.

Protobuf type google.events.firebase.testlab.v1.ClientInfo

Implements

ClientInfoOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClientInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClientInfo.Builder
Overrides

build()

public ClientInfo build()
Returns
TypeDescription
ClientInfo

buildPartial()

public ClientInfo buildPartial()
Returns
TypeDescription
ClientInfo

clear()

public ClientInfo.Builder clear()
Returns
TypeDescription
ClientInfo.Builder
Overrides

clearClient()

public ClientInfo.Builder clearClient()

Client name, such as "gcloud".

string client = 1;

Returns
TypeDescription
ClientInfo.Builder

This builder for chaining.

clearDetails()

public ClientInfo.Builder clearDetails()
Returns
TypeDescription
ClientInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public ClientInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ClientInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClientInfo.Builder
Overrides

clone()

public ClientInfo.Builder clone()
Returns
TypeDescription
ClientInfo.Builder
Overrides

containsDetails(String key)

public boolean containsDetails(String key)

Map of detailed information about the client.

map<string, string> details = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getClient()

public String getClient()

Client name, such as "gcloud".

string client = 1;

Returns
TypeDescription
String

The client.

getClientBytes()

public ByteString getClientBytes()

Client name, such as "gcloud".

string client = 1;

Returns
TypeDescription
ByteString

The bytes for client.

getDefaultInstanceForType()

public ClientInfo getDefaultInstanceForType()
Returns
TypeDescription
ClientInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetails()

public Map<String,String> getDetails()

Use #getDetailsMap() instead.

Returns
TypeDescription
Map<String,String>

getDetailsCount()

public int getDetailsCount()

Map of detailed information about the client.

map<string, string> details = 2;

Returns
TypeDescription
int

getDetailsMap()

public Map<String,String> getDetailsMap()

Map of detailed information about the client.

map<string, string> details = 2;

Returns
TypeDescription
Map<String,String>

getDetailsOrDefault(String key, String defaultValue)

public String getDetailsOrDefault(String key, String defaultValue)

Map of detailed information about the client.

map<string, string> details = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDetailsOrThrow(String key)

public String getDetailsOrThrow(String key)

Map of detailed information about the client.

map<string, string> details = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableDetails()

public Map<String,String> getMutableDetails()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ClientInfo other)

public ClientInfo.Builder mergeFrom(ClientInfo other)
Parameter
NameDescription
otherClientInfo
Returns
TypeDescription
ClientInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClientInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ClientInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ClientInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientInfo.Builder
Overrides

putAllDetails(Map<String,String> values)

public ClientInfo.Builder putAllDetails(Map<String,String> values)

Map of detailed information about the client.

map<string, string> details = 2;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
ClientInfo.Builder

putDetails(String key, String value)

public ClientInfo.Builder putDetails(String key, String value)

Map of detailed information about the client.

map<string, string> details = 2;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
ClientInfo.Builder

removeDetails(String key)

public ClientInfo.Builder removeDetails(String key)

Map of detailed information about the client.

map<string, string> details = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
ClientInfo.Builder

setClient(String value)

public ClientInfo.Builder setClient(String value)

Client name, such as "gcloud".

string client = 1;

Parameter
NameDescription
valueString

The client to set.

Returns
TypeDescription
ClientInfo.Builder

This builder for chaining.

setClientBytes(ByteString value)

public ClientInfo.Builder setClientBytes(ByteString value)

Client name, such as "gcloud".

string client = 1;

Parameter
NameDescription
valueByteString

The bytes for client to set.

Returns
TypeDescription
ClientInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClientInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClientInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClientInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ClientInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientInfo.Builder
Overrides