public static final class Connection.Builder extends GeneratedMessageV3.Builder<Connection.Builder> implements ConnectionOrBuilder
Contains information about the IP connection associated with the finding.Protobuf type
google.cloud.securitycenter.v1.Connection
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Connection.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Connection build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Connection buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Connection.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Connection.Builder>
public Connection.Builder mergeFrom(Connection other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Connection.Builder>
public Connection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Connection.Builder>
IOException
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 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(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 ConnectionOrBuilder
public 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 ConnectionOrBuilder
public ByteString getSourceIpBytes()
Source IP address.
string source_ip = 3;
getSourceIpBytes
in interface ConnectionOrBuilder
public 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(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 ConnectionOrBuilder
public 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 ConnectionOrBuilder
public 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 ConnectionOrBuilder
public 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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Connection.Builder>
public final Connection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Connection.Builder>
Copyright © 2022 Google LLC. All rights reserved.