public final class Connection extends GeneratedMessageV3 implements ConnectionOrBuilder
Contains information about the IP connection associated with the finding.Protobuf type
google.cloud.securitycenter.v1.Connection
Modifier and Type | Class and Description |
---|---|
static class |
Connection.Builder
Contains information about the IP connection associated with the finding.
|
static class |
Connection.Protocol
IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
DESTINATION_IP_FIELD_NUMBER |
static int |
DESTINATION_PORT_FIELD_NUMBER |
static int |
PROTOCOL_FIELD_NUMBER |
static int |
SOURCE_IP_FIELD_NUMBER |
static int |
SOURCE_PORT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int DESTINATION_IP_FIELD_NUMBER
public static final int DESTINATION_PORT_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_PORT_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getDestinationIp()
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;
getDestinationIp
in interface ConnectionOrBuilder
public ByteString getDestinationIpBytes()
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;
getDestinationIpBytes
in interface ConnectionOrBuilder
public int getDestinationPort()
Destination port. Not present for sockets that are listening and not connected.
int32 destination_port = 2;
getDestinationPort
in interface ConnectionOrBuilder
public String getSourceIp()
Source IP address.
string source_ip = 3;
getSourceIp
in interface ConnectionOrBuilder
public ByteString getSourceIpBytes()
Source IP address.
string source_ip = 3;
getSourceIpBytes
in interface ConnectionOrBuilder
public int getSourcePort()
Source port.
int32 source_port = 4;
getSourcePort
in interface ConnectionOrBuilder
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 ConnectionOrBuilder
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 ConnectionOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Connection parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Connection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Connection parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Connection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Connection parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Connection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Connection parseFrom(InputStream input) throws IOException
IOException
public static Connection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Connection parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Connection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Connection parseFrom(CodedInputStream input) throws IOException
IOException
public static Connection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Connection.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Connection.Builder newBuilder()
public static Connection.Builder newBuilder(Connection prototype)
public Connection.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Connection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Connection getDefaultInstance()
public static Parser<Connection> parser()
public Parser<Connection> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Connection getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.