Class ArtifactClient.Builder (0.3.0)

public static final class ArtifactClient.Builder extends GeneratedMessage.Builder<ArtifactClient.Builder> implements ArtifactClientOrBuilder

Entity or software accessing or utilizing network resources.

Protobuf type google.backstory.ArtifactClient

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBehaviors(Iterable<String> values)

public ArtifactClient.Builder addAllBehaviors(Iterable<String> values)

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Parameter
Name Description
values Iterable<String>

The behaviors to add.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

addAllProxies(Iterable<String> values)

public ArtifactClient.Builder addAllProxies(Iterable<String> values)

The type of proxies used by the client.

repeated string proxies = 2;

Parameter
Name Description
values Iterable<String>

The proxies to add.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

addBehaviors(String value)

public ArtifactClient.Builder addBehaviors(String value)

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Parameter
Name Description
value String

The behaviors to add.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

addBehaviorsBytes(ByteString value)

public ArtifactClient.Builder addBehaviorsBytes(ByteString value)

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Parameter
Name Description
value ByteString

The bytes of the behaviors to add.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

addProxies(String value)

public ArtifactClient.Builder addProxies(String value)

The type of proxies used by the client.

repeated string proxies = 2;

Parameter
Name Description
value String

The proxies to add.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

addProxiesBytes(ByteString value)

public ArtifactClient.Builder addProxiesBytes(ByteString value)

The type of proxies used by the client.

repeated string proxies = 2;

Parameter
Name Description
value ByteString

The bytes of the proxies to add.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

build()

public ArtifactClient build()
Returns
Type Description
ArtifactClient

buildPartial()

public ArtifactClient buildPartial()
Returns
Type Description
ArtifactClient

clear()

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

clearBehaviors()

public ArtifactClient.Builder clearBehaviors()

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

clearProxies()

public ArtifactClient.Builder clearProxies()

The type of proxies used by the client.

repeated string proxies = 2;

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

getBehaviors(int index)

public String getBehaviors(int index)

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The behaviors at the given index.

getBehaviorsBytes(int index)

public ByteString getBehaviorsBytes(int index)

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the behaviors at the given index.

getBehaviorsCount()

public int getBehaviorsCount()

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Returns
Type Description
int

The count of behaviors.

getBehaviorsList()

public ProtocolStringList getBehaviorsList()

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Returns
Type Description
ProtocolStringList

A list containing the behaviors.

getDefaultInstanceForType()

public ArtifactClient getDefaultInstanceForType()
Returns
Type Description
ArtifactClient

getDescriptorForType()

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

getProxies(int index)

public String getProxies(int index)

The type of proxies used by the client.

repeated string proxies = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The proxies at the given index.

getProxiesBytes(int index)

public ByteString getProxiesBytes(int index)

The type of proxies used by the client.

repeated string proxies = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the proxies at the given index.

getProxiesCount()

public int getProxiesCount()

The type of proxies used by the client.

repeated string proxies = 2;

Returns
Type Description
int

The count of proxies.

getProxiesList()

public ProtocolStringList getProxiesList()

The type of proxies used by the client.

repeated string proxies = 2;

Returns
Type Description
ProtocolStringList

A list containing the proxies.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ArtifactClient other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBehaviors(int index, String value)

public ArtifactClient.Builder setBehaviors(int index, String value)

The behaviors of the client accessing the network.

repeated string behaviors = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The behaviors to set.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.

setProxies(int index, String value)

public ArtifactClient.Builder setProxies(int index, String value)

The type of proxies used by the client.

repeated string proxies = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The proxies to set.

Returns
Type Description
ArtifactClient.Builder

This builder for chaining.