Class Network.Builder (0.3.0)

public static final class Network.Builder extends GeneratedMessage.Builder<Network.Builder> implements NetworkOrBuilder

A network event.

Protobuf type google.backstory.Network

Implements

NetworkOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Network build()
Returns
Type Description
Network

buildPartial()

public Network buildPartial()
Returns
Type Description
Network

clear()

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

clearApplicationProtocol()

public Network.Builder clearApplicationProtocol()

The application protocol.

.google.backstory.Network.ApplicationProtocol application_protocol = 4;

Returns
Type Description
Network.Builder

This builder for chaining.

clearApplicationProtocolVersion()

public Network.Builder clearApplicationProtocolVersion()

The version of the application protocol. e.g. "1.1, 2.0"

string application_protocol_version = 21;

Returns
Type Description
Network.Builder

This builder for chaining.

clearAsn()

public Network.Builder clearAsn()

Autonomous system number.

string asn = 16;

Returns
Type Description
Network.Builder

This builder for chaining.

clearCarrierName()

public Network.Builder clearCarrierName()

Carrier identification.

string carrier_name = 18;

Returns
Type Description
Network.Builder

This builder for chaining.

clearCommunityId()

public Network.Builder clearCommunityId()

Community ID network flow value.

string community_id = 15;

Returns
Type Description
Network.Builder

This builder for chaining.

clearConnectionState()

public Network.Builder clearConnectionState()

The state of the network connection.

.google.backstory.Network.ConnectionState connection_state = 28;

Returns
Type Description
Network.Builder

This builder for chaining.

clearDhcp()

public Network.Builder clearDhcp()

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Returns
Type Description
Network.Builder

clearDirection()

public Network.Builder clearDirection()

The direction of network traffic.

.google.backstory.Network.Direction direction = 12;

Returns
Type Description
Network.Builder

This builder for chaining.

clearDns()

public Network.Builder clearDns()

DNS info.

.google.backstory.Dns dns = 7;

Returns
Type Description
Network.Builder

clearDnsDomain()

public Network.Builder clearDnsDomain()

DNS domain name.

string dns_domain = 17;

Returns
Type Description
Network.Builder

This builder for chaining.

clearEmail()

public Network.Builder clearEmail()

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Returns
Type Description
Network.Builder

clearFtp()

public Network.Builder clearFtp()

FTP info.

.google.backstory.Ftp ftp = 5;

Returns
Type Description
Network.Builder

clearHttp()

public Network.Builder clearHttp()

HTTP info.

.google.backstory.Http http = 9;

Returns
Type Description
Network.Builder

clearIpProtocol()

public Network.Builder clearIpProtocol()

The IP protocol.

.google.backstory.Network.IpProtocol ip_protocol = 3;

Returns
Type Description
Network.Builder

This builder for chaining.

clearIpSubnetRange()

public Network.Builder clearIpSubnetRange()

Associated human-readable IP subnet range (e.g. 10.1.2.0/24).

string ip_subnet_range = 24;

Returns
Type Description
Network.Builder

This builder for chaining.

clearIpv6()

public Network.Builder clearIpv6()

True if IPv6 is used.

bool ipv6 = 29;

Returns
Type Description
Network.Builder

This builder for chaining.

clearIsProxy()

public Network.Builder clearIsProxy()

Whether the IP address is a known proxy.

bool is_proxy = 25;

Returns
Type Description
Network.Builder

This builder for chaining.

clearOrganizationName()

public Network.Builder clearOrganizationName()

Organization name (e.g Google).

string organization_name = 19;

Returns
Type Description
Network.Builder

This builder for chaining.

clearParentSessionId()

public Network.Builder clearParentSessionId()

The ID of the parent network session.

string parent_session_id = 20;

Returns
Type Description
Network.Builder

This builder for chaining.

clearProxyInfo()

public Network.Builder clearProxyInfo()

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Returns
Type Description
Network.Builder

clearReceivedBytes()

public Network.Builder clearReceivedBytes()

The number of bytes received.

uint64 received_bytes = 2;

Returns
Type Description
Network.Builder

This builder for chaining.

clearReceivedPackets()

public Network.Builder clearReceivedPackets()

The number of packets received.

int64 received_packets = 23;

Returns
Type Description
Network.Builder

This builder for chaining.

clearSentBytes()

public Network.Builder clearSentBytes()

The number of bytes sent.

uint64 sent_bytes = 1;

Returns
Type Description
Network.Builder

This builder for chaining.

clearSentPackets()

public Network.Builder clearSentPackets()

The number of packets sent.

int64 sent_packets = 22;

Returns
Type Description
Network.Builder

This builder for chaining.

clearSessionDuration()

public Network.Builder clearSessionDuration()

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Returns
Type Description
Network.Builder

clearSessionId()

public Network.Builder clearSessionId()

The ID of the network session.

string session_id = 14;

Returns
Type Description
Network.Builder

This builder for chaining.

clearSmtp()

public Network.Builder clearSmtp()

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Returns
Type Description
Network.Builder

clearTls()

public Network.Builder clearTls()

TLS info.

.google.backstory.Tls tls = 10;

Returns
Type Description
Network.Builder

clearTotalBytes()

public Network.Builder clearTotalBytes()

The number of total bytes.

int64 total_bytes = 27;

Returns
Type Description
Network.Builder

This builder for chaining.

getApplicationProtocol()

public Network.ApplicationProtocol getApplicationProtocol()

The application protocol.

.google.backstory.Network.ApplicationProtocol application_protocol = 4;

Returns
Type Description
Network.ApplicationProtocol

The applicationProtocol.

getApplicationProtocolValue()

public int getApplicationProtocolValue()

The application protocol.

.google.backstory.Network.ApplicationProtocol application_protocol = 4;

Returns
Type Description
int

The enum numeric value on the wire for applicationProtocol.

getApplicationProtocolVersion()

public String getApplicationProtocolVersion()

The version of the application protocol. e.g. "1.1, 2.0"

string application_protocol_version = 21;

Returns
Type Description
String

The applicationProtocolVersion.

getApplicationProtocolVersionBytes()

public ByteString getApplicationProtocolVersionBytes()

The version of the application protocol. e.g. "1.1, 2.0"

string application_protocol_version = 21;

Returns
Type Description
ByteString

The bytes for applicationProtocolVersion.

getAsn()

public String getAsn()

Autonomous system number.

string asn = 16;

Returns
Type Description
String

The asn.

getAsnBytes()

public ByteString getAsnBytes()

Autonomous system number.

string asn = 16;

Returns
Type Description
ByteString

The bytes for asn.

getCarrierName()

public String getCarrierName()

Carrier identification.

string carrier_name = 18;

Returns
Type Description
String

The carrierName.

getCarrierNameBytes()

public ByteString getCarrierNameBytes()

Carrier identification.

string carrier_name = 18;

Returns
Type Description
ByteString

The bytes for carrierName.

getCommunityId()

public String getCommunityId()

Community ID network flow value.

string community_id = 15;

Returns
Type Description
String

The communityId.

getCommunityIdBytes()

public ByteString getCommunityIdBytes()

Community ID network flow value.

string community_id = 15;

Returns
Type Description
ByteString

The bytes for communityId.

getConnectionState()

public Network.ConnectionState getConnectionState()

The state of the network connection.

.google.backstory.Network.ConnectionState connection_state = 28;

Returns
Type Description
Network.ConnectionState

The connectionState.

getConnectionStateValue()

public int getConnectionStateValue()

The state of the network connection.

.google.backstory.Network.ConnectionState connection_state = 28;

Returns
Type Description
int

The enum numeric value on the wire for connectionState.

getDefaultInstanceForType()

public Network getDefaultInstanceForType()
Returns
Type Description
Network

getDescriptorForType()

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

getDhcp()

public Dhcp getDhcp()

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Returns
Type Description
Dhcp

The dhcp.

getDhcpBuilder()

public Dhcp.Builder getDhcpBuilder()

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Returns
Type Description
Dhcp.Builder

getDhcpOrBuilder()

public DhcpOrBuilder getDhcpOrBuilder()

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Returns
Type Description
DhcpOrBuilder

getDirection()

public Network.Direction getDirection()

The direction of network traffic.

.google.backstory.Network.Direction direction = 12;

Returns
Type Description
Network.Direction

The direction.

getDirectionValue()

public int getDirectionValue()

The direction of network traffic.

.google.backstory.Network.Direction direction = 12;

Returns
Type Description
int

The enum numeric value on the wire for direction.

getDns()

public Dns getDns()

DNS info.

.google.backstory.Dns dns = 7;

Returns
Type Description
Dns

The dns.

getDnsBuilder()

public Dns.Builder getDnsBuilder()

DNS info.

.google.backstory.Dns dns = 7;

Returns
Type Description
Dns.Builder

getDnsDomain()

public String getDnsDomain()

DNS domain name.

string dns_domain = 17;

Returns
Type Description
String

The dnsDomain.

getDnsDomainBytes()

public ByteString getDnsDomainBytes()

DNS domain name.

string dns_domain = 17;

Returns
Type Description
ByteString

The bytes for dnsDomain.

getDnsOrBuilder()

public DnsOrBuilder getDnsOrBuilder()

DNS info.

.google.backstory.Dns dns = 7;

Returns
Type Description
DnsOrBuilder

getEmail()

public Email getEmail()

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Returns
Type Description
Email

The email.

getEmailBuilder()

public Email.Builder getEmailBuilder()

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Returns
Type Description
Email.Builder

getEmailOrBuilder()

public EmailOrBuilder getEmailOrBuilder()

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Returns
Type Description
EmailOrBuilder

getFtp()

public Ftp getFtp()

FTP info.

.google.backstory.Ftp ftp = 5;

Returns
Type Description
Ftp

The ftp.

getFtpBuilder()

public Ftp.Builder getFtpBuilder()

FTP info.

.google.backstory.Ftp ftp = 5;

Returns
Type Description
Ftp.Builder

getFtpOrBuilder()

public FtpOrBuilder getFtpOrBuilder()

FTP info.

.google.backstory.Ftp ftp = 5;

Returns
Type Description
FtpOrBuilder

getHttp()

public Http getHttp()

HTTP info.

.google.backstory.Http http = 9;

Returns
Type Description
Http

The http.

getHttpBuilder()

public Http.Builder getHttpBuilder()

HTTP info.

.google.backstory.Http http = 9;

Returns
Type Description
Http.Builder

getHttpOrBuilder()

public HttpOrBuilder getHttpOrBuilder()

HTTP info.

.google.backstory.Http http = 9;

Returns
Type Description
HttpOrBuilder

getIpProtocol()

public Network.IpProtocol getIpProtocol()

The IP protocol.

.google.backstory.Network.IpProtocol ip_protocol = 3;

Returns
Type Description
Network.IpProtocol

The ipProtocol.

getIpProtocolValue()

public int getIpProtocolValue()

The IP protocol.

.google.backstory.Network.IpProtocol ip_protocol = 3;

Returns
Type Description
int

The enum numeric value on the wire for ipProtocol.

getIpSubnetRange()

public String getIpSubnetRange()

Associated human-readable IP subnet range (e.g. 10.1.2.0/24).

string ip_subnet_range = 24;

Returns
Type Description
String

The ipSubnetRange.

getIpSubnetRangeBytes()

public ByteString getIpSubnetRangeBytes()

Associated human-readable IP subnet range (e.g. 10.1.2.0/24).

string ip_subnet_range = 24;

Returns
Type Description
ByteString

The bytes for ipSubnetRange.

getIpv6()

public boolean getIpv6()

True if IPv6 is used.

bool ipv6 = 29;

Returns
Type Description
boolean

The ipv6.

getIsProxy()

public boolean getIsProxy()

Whether the IP address is a known proxy.

bool is_proxy = 25;

Returns
Type Description
boolean

The isProxy.

getOrganizationName()

public String getOrganizationName()

Organization name (e.g Google).

string organization_name = 19;

Returns
Type Description
String

The organizationName.

getOrganizationNameBytes()

public ByteString getOrganizationNameBytes()

Organization name (e.g Google).

string organization_name = 19;

Returns
Type Description
ByteString

The bytes for organizationName.

getParentSessionId()

public String getParentSessionId()

The ID of the parent network session.

string parent_session_id = 20;

Returns
Type Description
String

The parentSessionId.

getParentSessionIdBytes()

public ByteString getParentSessionIdBytes()

The ID of the parent network session.

string parent_session_id = 20;

Returns
Type Description
ByteString

The bytes for parentSessionId.

getProxyInfo()

public ProxyInfo getProxyInfo()

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Returns
Type Description
ProxyInfo

The proxyInfo.

getProxyInfoBuilder()

public ProxyInfo.Builder getProxyInfoBuilder()

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Returns
Type Description
ProxyInfo.Builder

getProxyInfoOrBuilder()

public ProxyInfoOrBuilder getProxyInfoOrBuilder()

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Returns
Type Description
ProxyInfoOrBuilder

getReceivedBytes()

public long getReceivedBytes()

The number of bytes received.

uint64 received_bytes = 2;

Returns
Type Description
long

The receivedBytes.

getReceivedPackets()

public long getReceivedPackets()

The number of packets received.

int64 received_packets = 23;

Returns
Type Description
long

The receivedPackets.

getSentBytes()

public long getSentBytes()

The number of bytes sent.

uint64 sent_bytes = 1;

Returns
Type Description
long

The sentBytes.

getSentPackets()

public long getSentPackets()

The number of packets sent.

int64 sent_packets = 22;

Returns
Type Description
long

The sentPackets.

getSessionDuration()

public Duration getSessionDuration()

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Returns
Type Description
Duration

The sessionDuration.

getSessionDurationBuilder()

public Duration.Builder getSessionDurationBuilder()

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Returns
Type Description
Builder

getSessionDurationOrBuilder()

public DurationOrBuilder getSessionDurationOrBuilder()

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Returns
Type Description
DurationOrBuilder

getSessionId()

public String getSessionId()

The ID of the network session.

string session_id = 14;

Returns
Type Description
String

The sessionId.

getSessionIdBytes()

public ByteString getSessionIdBytes()

The ID of the network session.

string session_id = 14;

Returns
Type Description
ByteString

The bytes for sessionId.

getSmtp()

public Smtp getSmtp()

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Returns
Type Description
Smtp

The smtp.

getSmtpBuilder()

public Smtp.Builder getSmtpBuilder()

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Returns
Type Description
Smtp.Builder

getSmtpOrBuilder()

public SmtpOrBuilder getSmtpOrBuilder()

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Returns
Type Description
SmtpOrBuilder

getTls()

public Tls getTls()

TLS info.

.google.backstory.Tls tls = 10;

Returns
Type Description
Tls

The tls.

getTlsBuilder()

public Tls.Builder getTlsBuilder()

TLS info.

.google.backstory.Tls tls = 10;

Returns
Type Description
Tls.Builder

getTlsOrBuilder()

public TlsOrBuilder getTlsOrBuilder()

TLS info.

.google.backstory.Tls tls = 10;

Returns
Type Description
TlsOrBuilder

getTotalBytes()

public long getTotalBytes()

The number of total bytes.

int64 total_bytes = 27;

Returns
Type Description
long

The totalBytes.

hasDhcp()

public boolean hasDhcp()

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Returns
Type Description
boolean

Whether the dhcp field is set.

hasDns()

public boolean hasDns()

DNS info.

.google.backstory.Dns dns = 7;

Returns
Type Description
boolean

Whether the dns field is set.

hasEmail()

public boolean hasEmail()

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Returns
Type Description
boolean

Whether the email field is set.

hasFtp()

public boolean hasFtp()

FTP info.

.google.backstory.Ftp ftp = 5;

Returns
Type Description
boolean

Whether the ftp field is set.

hasHttp()

public boolean hasHttp()

HTTP info.

.google.backstory.Http http = 9;

Returns
Type Description
boolean

Whether the http field is set.

hasProxyInfo()

public boolean hasProxyInfo()

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Returns
Type Description
boolean

Whether the proxyInfo field is set.

hasSessionDuration()

public boolean hasSessionDuration()

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Returns
Type Description
boolean

Whether the sessionDuration field is set.

hasSmtp()

public boolean hasSmtp()

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Returns
Type Description
boolean

Whether the smtp field is set.

hasTls()

public boolean hasTls()

TLS info.

.google.backstory.Tls tls = 10;

Returns
Type Description
boolean

Whether the tls field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDhcp(Dhcp value)

public Network.Builder mergeDhcp(Dhcp value)

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Parameter
Name Description
value Dhcp
Returns
Type Description
Network.Builder

mergeDns(Dns value)

public Network.Builder mergeDns(Dns value)

DNS info.

.google.backstory.Dns dns = 7;

Parameter
Name Description
value Dns
Returns
Type Description
Network.Builder

mergeEmail(Email value)

public Network.Builder mergeEmail(Email value)

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Parameter
Name Description
value Email
Returns
Type Description
Network.Builder

mergeFrom(Network other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFtp(Ftp value)

public Network.Builder mergeFtp(Ftp value)

FTP info.

.google.backstory.Ftp ftp = 5;

Parameter
Name Description
value Ftp
Returns
Type Description
Network.Builder

mergeHttp(Http value)

public Network.Builder mergeHttp(Http value)

HTTP info.

.google.backstory.Http http = 9;

Parameter
Name Description
value Http
Returns
Type Description
Network.Builder

mergeProxyInfo(ProxyInfo value)

public Network.Builder mergeProxyInfo(ProxyInfo value)

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Parameter
Name Description
value ProxyInfo
Returns
Type Description
Network.Builder

mergeSessionDuration(Duration value)

public Network.Builder mergeSessionDuration(Duration value)

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Parameter
Name Description
value Duration
Returns
Type Description
Network.Builder

mergeSmtp(Smtp value)

public Network.Builder mergeSmtp(Smtp value)

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Parameter
Name Description
value Smtp
Returns
Type Description
Network.Builder

mergeTls(Tls value)

public Network.Builder mergeTls(Tls value)

TLS info.

.google.backstory.Tls tls = 10;

Parameter
Name Description
value Tls
Returns
Type Description
Network.Builder

setApplicationProtocol(Network.ApplicationProtocol value)

public Network.Builder setApplicationProtocol(Network.ApplicationProtocol value)

The application protocol.

.google.backstory.Network.ApplicationProtocol application_protocol = 4;

Parameter
Name Description
value Network.ApplicationProtocol

The applicationProtocol to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setApplicationProtocolValue(int value)

public Network.Builder setApplicationProtocolValue(int value)

The application protocol.

.google.backstory.Network.ApplicationProtocol application_protocol = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for applicationProtocol to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setApplicationProtocolVersion(String value)

public Network.Builder setApplicationProtocolVersion(String value)

The version of the application protocol. e.g. "1.1, 2.0"

string application_protocol_version = 21;

Parameter
Name Description
value String

The applicationProtocolVersion to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setApplicationProtocolVersionBytes(ByteString value)

public Network.Builder setApplicationProtocolVersionBytes(ByteString value)

The version of the application protocol. e.g. "1.1, 2.0"

string application_protocol_version = 21;

Parameter
Name Description
value ByteString

The bytes for applicationProtocolVersion to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setAsn(String value)

public Network.Builder setAsn(String value)

Autonomous system number.

string asn = 16;

Parameter
Name Description
value String

The asn to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setAsnBytes(ByteString value)

public Network.Builder setAsnBytes(ByteString value)

Autonomous system number.

string asn = 16;

Parameter
Name Description
value ByteString

The bytes for asn to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setCarrierName(String value)

public Network.Builder setCarrierName(String value)

Carrier identification.

string carrier_name = 18;

Parameter
Name Description
value String

The carrierName to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setCarrierNameBytes(ByteString value)

public Network.Builder setCarrierNameBytes(ByteString value)

Carrier identification.

string carrier_name = 18;

Parameter
Name Description
value ByteString

The bytes for carrierName to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setCommunityId(String value)

public Network.Builder setCommunityId(String value)

Community ID network flow value.

string community_id = 15;

Parameter
Name Description
value String

The communityId to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setCommunityIdBytes(ByteString value)

public Network.Builder setCommunityIdBytes(ByteString value)

Community ID network flow value.

string community_id = 15;

Parameter
Name Description
value ByteString

The bytes for communityId to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setConnectionState(Network.ConnectionState value)

public Network.Builder setConnectionState(Network.ConnectionState value)

The state of the network connection.

.google.backstory.Network.ConnectionState connection_state = 28;

Parameter
Name Description
value Network.ConnectionState

The connectionState to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setConnectionStateValue(int value)

public Network.Builder setConnectionStateValue(int value)

The state of the network connection.

.google.backstory.Network.ConnectionState connection_state = 28;

Parameter
Name Description
value int

The enum numeric value on the wire for connectionState to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setDhcp(Dhcp value)

public Network.Builder setDhcp(Dhcp value)

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Parameter
Name Description
value Dhcp
Returns
Type Description
Network.Builder

setDhcp(Dhcp.Builder builderForValue)

public Network.Builder setDhcp(Dhcp.Builder builderForValue)

DHCP info.

.google.backstory.Dhcp dhcp = 8;

Parameter
Name Description
builderForValue Dhcp.Builder
Returns
Type Description
Network.Builder

setDirection(Network.Direction value)

public Network.Builder setDirection(Network.Direction value)

The direction of network traffic.

.google.backstory.Network.Direction direction = 12;

Parameter
Name Description
value Network.Direction

The direction to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setDirectionValue(int value)

public Network.Builder setDirectionValue(int value)

The direction of network traffic.

.google.backstory.Network.Direction direction = 12;

Parameter
Name Description
value int

The enum numeric value on the wire for direction to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setDns(Dns value)

public Network.Builder setDns(Dns value)

DNS info.

.google.backstory.Dns dns = 7;

Parameter
Name Description
value Dns
Returns
Type Description
Network.Builder

setDns(Dns.Builder builderForValue)

public Network.Builder setDns(Dns.Builder builderForValue)

DNS info.

.google.backstory.Dns dns = 7;

Parameter
Name Description
builderForValue Dns.Builder
Returns
Type Description
Network.Builder

setDnsDomain(String value)

public Network.Builder setDnsDomain(String value)

DNS domain name.

string dns_domain = 17;

Parameter
Name Description
value String

The dnsDomain to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setDnsDomainBytes(ByteString value)

public Network.Builder setDnsDomainBytes(ByteString value)

DNS domain name.

string dns_domain = 17;

Parameter
Name Description
value ByteString

The bytes for dnsDomain to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setEmail(Email value)

public Network.Builder setEmail(Email value)

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Parameter
Name Description
value Email
Returns
Type Description
Network.Builder

setEmail(Email.Builder builderForValue)

public Network.Builder setEmail(Email.Builder builderForValue)

Email info for the sender/recipient.

.google.backstory.Email email = 6;

Parameter
Name Description
builderForValue Email.Builder
Returns
Type Description
Network.Builder

setFtp(Ftp value)

public Network.Builder setFtp(Ftp value)

FTP info.

.google.backstory.Ftp ftp = 5;

Parameter
Name Description
value Ftp
Returns
Type Description
Network.Builder

setFtp(Ftp.Builder builderForValue)

public Network.Builder setFtp(Ftp.Builder builderForValue)

FTP info.

.google.backstory.Ftp ftp = 5;

Parameter
Name Description
builderForValue Ftp.Builder
Returns
Type Description
Network.Builder

setHttp(Http value)

public Network.Builder setHttp(Http value)

HTTP info.

.google.backstory.Http http = 9;

Parameter
Name Description
value Http
Returns
Type Description
Network.Builder

setHttp(Http.Builder builderForValue)

public Network.Builder setHttp(Http.Builder builderForValue)

HTTP info.

.google.backstory.Http http = 9;

Parameter
Name Description
builderForValue Http.Builder
Returns
Type Description
Network.Builder

setIpProtocol(Network.IpProtocol value)

public Network.Builder setIpProtocol(Network.IpProtocol value)

The IP protocol.

.google.backstory.Network.IpProtocol ip_protocol = 3;

Parameter
Name Description
value Network.IpProtocol

The ipProtocol to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setIpProtocolValue(int value)

public Network.Builder setIpProtocolValue(int value)

The IP protocol.

.google.backstory.Network.IpProtocol ip_protocol = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for ipProtocol to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setIpSubnetRange(String value)

public Network.Builder setIpSubnetRange(String value)

Associated human-readable IP subnet range (e.g. 10.1.2.0/24).

string ip_subnet_range = 24;

Parameter
Name Description
value String

The ipSubnetRange to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setIpSubnetRangeBytes(ByteString value)

public Network.Builder setIpSubnetRangeBytes(ByteString value)

Associated human-readable IP subnet range (e.g. 10.1.2.0/24).

string ip_subnet_range = 24;

Parameter
Name Description
value ByteString

The bytes for ipSubnetRange to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setIpv6(boolean value)

public Network.Builder setIpv6(boolean value)

True if IPv6 is used.

bool ipv6 = 29;

Parameter
Name Description
value boolean

The ipv6 to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setIsProxy(boolean value)

public Network.Builder setIsProxy(boolean value)

Whether the IP address is a known proxy.

bool is_proxy = 25;

Parameter
Name Description
value boolean

The isProxy to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setOrganizationName(String value)

public Network.Builder setOrganizationName(String value)

Organization name (e.g Google).

string organization_name = 19;

Parameter
Name Description
value String

The organizationName to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setOrganizationNameBytes(ByteString value)

public Network.Builder setOrganizationNameBytes(ByteString value)

Organization name (e.g Google).

string organization_name = 19;

Parameter
Name Description
value ByteString

The bytes for organizationName to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setParentSessionId(String value)

public Network.Builder setParentSessionId(String value)

The ID of the parent network session.

string parent_session_id = 20;

Parameter
Name Description
value String

The parentSessionId to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setParentSessionIdBytes(ByteString value)

public Network.Builder setParentSessionIdBytes(ByteString value)

The ID of the parent network session.

string parent_session_id = 20;

Parameter
Name Description
value ByteString

The bytes for parentSessionId to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setProxyInfo(ProxyInfo value)

public Network.Builder setProxyInfo(ProxyInfo value)

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Parameter
Name Description
value ProxyInfo
Returns
Type Description
Network.Builder

setProxyInfo(ProxyInfo.Builder builderForValue)

public Network.Builder setProxyInfo(ProxyInfo.Builder builderForValue)

Proxy information. Only set if is_proxy is true.

.google.backstory.ProxyInfo proxy_info = 26;

Parameter
Name Description
builderForValue ProxyInfo.Builder
Returns
Type Description
Network.Builder

setReceivedBytes(long value)

public Network.Builder setReceivedBytes(long value)

The number of bytes received.

uint64 received_bytes = 2;

Parameter
Name Description
value long

The receivedBytes to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setReceivedPackets(long value)

public Network.Builder setReceivedPackets(long value)

The number of packets received.

int64 received_packets = 23;

Parameter
Name Description
value long

The receivedPackets to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setSentBytes(long value)

public Network.Builder setSentBytes(long value)

The number of bytes sent.

uint64 sent_bytes = 1;

Parameter
Name Description
value long

The sentBytes to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setSentPackets(long value)

public Network.Builder setSentPackets(long value)

The number of packets sent.

int64 sent_packets = 22;

Parameter
Name Description
value long

The sentPackets to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setSessionDuration(Duration value)

public Network.Builder setSessionDuration(Duration value)

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Parameter
Name Description
value Duration
Returns
Type Description
Network.Builder

setSessionDuration(Duration.Builder builderForValue)

public Network.Builder setSessionDuration(Duration.Builder builderForValue)

The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer.

.google.protobuf.Duration session_duration = 13;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Network.Builder

setSessionId(String value)

public Network.Builder setSessionId(String value)

The ID of the network session.

string session_id = 14;

Parameter
Name Description
value String

The sessionId to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setSessionIdBytes(ByteString value)

public Network.Builder setSessionIdBytes(ByteString value)

The ID of the network session.

string session_id = 14;

Parameter
Name Description
value ByteString

The bytes for sessionId to set.

Returns
Type Description
Network.Builder

This builder for chaining.

setSmtp(Smtp value)

public Network.Builder setSmtp(Smtp value)

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Parameter
Name Description
value Smtp
Returns
Type Description
Network.Builder

setSmtp(Smtp.Builder builderForValue)

public Network.Builder setSmtp(Smtp.Builder builderForValue)

SMTP info. Store fields specific to SMTP not covered by Email.

.google.backstory.Smtp smtp = 11;

Parameter
Name Description
builderForValue Smtp.Builder
Returns
Type Description
Network.Builder

setTls(Tls value)

public Network.Builder setTls(Tls value)

TLS info.

.google.backstory.Tls tls = 10;

Parameter
Name Description
value Tls
Returns
Type Description
Network.Builder

setTls(Tls.Builder builderForValue)

public Network.Builder setTls(Tls.Builder builderForValue)

TLS info.

.google.backstory.Tls tls = 10;

Parameter
Name Description
builderForValue Tls.Builder
Returns
Type Description
Network.Builder

setTotalBytes(long value)

public Network.Builder setTotalBytes(long value)

The number of total bytes.

int64 total_bytes = 27;

Parameter
Name Description
value long

The totalBytes to set.

Returns
Type Description
Network.Builder

This builder for chaining.