public static final class Connection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder> implements ConnectionOrBuilder
Contains information about the IP connection associated with the finding.Protobuf type
google.cloud.securitycenter.v1.Connection| Modifier and Type | Method and Description |
|---|---|
Connection.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Connection |
build() |
Connection |
buildPartial() |
Connection.Builder |
clear() |
Connection.Builder |
clearDestinationIp()
Destination IP address.
|
Connection.Builder |
clearDestinationPort()
Destination port.
|
Connection.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Connection.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Connection.Builder |
clearProtocol()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
Connection.Builder |
clearSourceIp()
Source IP address.
|
Connection.Builder |
clearSourcePort()
Source port.
|
Connection.Builder |
clone() |
Connection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDestinationIp()
Destination IP address.
|
com.google.protobuf.ByteString |
getDestinationIpBytes()
Destination IP address.
|
int |
getDestinationPort()
Destination port.
|
Connection.Protocol |
getProtocol()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
int |
getProtocolValue()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
String |
getSourceIp()
Source IP address.
|
com.google.protobuf.ByteString |
getSourceIpBytes()
Source IP address.
|
int |
getSourcePort()
Source port.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Connection.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Connection.Builder |
mergeFrom(Connection other) |
Connection.Builder |
mergeFrom(com.google.protobuf.Message other) |
Connection.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Connection.Builder |
setDestinationIp(String value)
Destination IP address.
|
Connection.Builder |
setDestinationIpBytes(com.google.protobuf.ByteString value)
Destination IP address.
|
Connection.Builder |
setDestinationPort(int value)
Destination port.
|
Connection.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Connection.Builder |
setProtocol(Connection.Protocol value)
IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
Connection.Builder |
setProtocolValue(int value)
IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
Connection.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Connection.Builder |
setSourceIp(String value)
Source IP address.
|
Connection.Builder |
setSourceIpBytes(com.google.protobuf.ByteString value)
Source IP address.
|
Connection.Builder |
setSourcePort(int value)
Source port.
|
Connection.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Connection build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Connection buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Connection.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Connection.Builder>public Connection.Builder mergeFrom(Connection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public Connection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Connection.Builder>IOExceptionpublic String getDestinationIp()
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;getDestinationIp in interface ConnectionOrBuilderpublic com.google.protobuf.ByteString getDestinationIpBytes()
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;getDestinationIpBytes in interface ConnectionOrBuilderpublic Connection.Builder setDestinationIp(String value)
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;value - The destinationIp to set.public Connection.Builder clearDestinationIp()
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;public Connection.Builder setDestinationIpBytes(com.google.protobuf.ByteString value)
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;value - The bytes for destinationIp to set.public int getDestinationPort()
Destination port. Not present for sockets that are listening and not connected.
int32 destination_port = 2;getDestinationPort in interface ConnectionOrBuilderpublic Connection.Builder setDestinationPort(int value)
Destination port. Not present for sockets that are listening and not connected.
int32 destination_port = 2;value - The destinationPort to set.public Connection.Builder clearDestinationPort()
Destination port. Not present for sockets that are listening and not connected.
int32 destination_port = 2;public String getSourceIp()
Source IP address.
string source_ip = 3;getSourceIp in interface ConnectionOrBuilderpublic com.google.protobuf.ByteString getSourceIpBytes()
Source IP address.
string source_ip = 3;getSourceIpBytes in interface ConnectionOrBuilderpublic Connection.Builder setSourceIp(String value)
Source IP address.
string source_ip = 3;value - The sourceIp to set.public Connection.Builder clearSourceIp()
Source IP address.
string source_ip = 3;public Connection.Builder setSourceIpBytes(com.google.protobuf.ByteString value)
Source IP address.
string source_ip = 3;value - The bytes for sourceIp to set.public int getSourcePort()
Source port.
int32 source_port = 4;getSourcePort in interface ConnectionOrBuilderpublic Connection.Builder setSourcePort(int value)
Source port.
int32 source_port = 4;value - The sourcePort to set.public Connection.Builder clearSourcePort()
Source port.
int32 source_port = 4;public int getProtocolValue()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;getProtocolValue in interface ConnectionOrBuilderpublic Connection.Builder setProtocolValue(int value)
IANA Internet Protocol Number such as TCP(6) and UDP(17).
.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;value - The enum numeric value on the wire for protocol to set.public Connection.Protocol getProtocol()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;getProtocol in interface ConnectionOrBuilderpublic Connection.Builder setProtocol(Connection.Protocol value)
IANA Internet Protocol Number such as TCP(6) and UDP(17).
.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;value - The protocol to set.public Connection.Builder clearProtocol()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;public final Connection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>public final Connection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>Copyright © 2024 Google LLC. All rights reserved.