Class ClientInfo.Builder (0.15.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClientInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClientInfo.Builder
Overrides

build()

public ClientInfo build()
Returns
Type Description
ClientInfo

buildPartial()

public ClientInfo buildPartial()
Returns
Type Description
ClientInfo

clear()

public ClientInfo.Builder clear()
Returns
Type Description
ClientInfo.Builder
Overrides

clearClient()

public ClientInfo.Builder clearClient()

Client name, such as "gcloud".

string client = 1;

Returns
Type Description
ClientInfo.Builder

This builder for chaining.

clearDetails()

public ClientInfo.Builder clearDetails()
Returns
Type Description
ClientInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public ClientInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClientInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClientInfo.Builder
Overrides

clone()

public ClientInfo.Builder clone()
Returns
Type Description
ClientInfo.Builder
Overrides

containsDetails(String key)

public boolean containsDetails(String key)

Map of detailed information about the client.

map<string, string> details = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getClient()

public String getClient()

Client name, such as "gcloud".

string client = 1;

Returns
Type Description
String

The client.

getClientBytes()

public ByteString getClientBytes()

Client name, such as "gcloud".

string client = 1;

Returns
Type Description
ByteString

The bytes for client.

getDefaultInstanceForType()

public ClientInfo getDefaultInstanceForType()
Returns
Type Description
ClientInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetails()

public Map<String,String> getDetails()

Use #getDetailsMap() instead.

Returns
Type Description
Map<String,String>

getDetailsCount()

public int getDetailsCount()

Map of detailed information about the client.

map<string, string> details = 2;

Returns
Type Description
int

getDetailsMap()

public Map<String,String> getDetailsMap()

Map of detailed information about the client.

map<string, string> details = 2;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getDetailsOrThrow(String key)

public String getDetailsOrThrow(String key)

Map of detailed information about the client.

map<string, string> details = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableDetails()

public Map<String,String> getMutableDetails()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClientInfo other)

public ClientInfo.Builder mergeFrom(ClientInfo other)
Parameter
Name Description
other ClientInfo
Returns
Type Description
ClientInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClientInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClientInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClientInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
ClientInfo.Builder

removeDetails(String key)

public ClientInfo.Builder removeDetails(String key)

Map of detailed information about the client.

map<string, string> details = 2;

Parameter
Name Description
key String
Returns
Type Description
ClientInfo.Builder

setClient(String value)

public ClientInfo.Builder setClient(String value)

Client name, such as "gcloud".

string client = 1;

Parameter
Name Description
value String

The client to set.

Returns
Type Description
ClientInfo.Builder

This builder for chaining.

setClientBytes(ByteString value)

public ClientInfo.Builder setClientBytes(ByteString value)

Client name, such as "gcloud".

string client = 1;

Parameter
Name Description
value ByteString

The bytes for client to set.

Returns
Type Description
ClientInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClientInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClientInfo.Builder
Overrides

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

public ClientInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClientInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClientInfo.Builder
Overrides