Class ExternalExposure (2.96.0)

public final class ExternalExposure extends GeneratedMessage implements ExternalExposureOrBuilder

Details about the externally exposed resource associated with the finding.

Protobuf type google.cloud.securitycenter.v1.ExternalExposure

Static Fields

BACKEND_SERVICE_FIELD_NUMBER

public static final int BACKEND_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

EXPOSED_ENDPOINT_FIELD_NUMBER

public static final int EXPOSED_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

EXPOSED_SERVICE_FIELD_NUMBER

public static final int EXPOSED_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

FORWARDING_RULE_FIELD_NUMBER

public static final int FORWARDING_RULE_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_GROUP_FIELD_NUMBER

public static final int INSTANCE_GROUP_FIELD_NUMBER
Field Value
Type Description
int

LOAD_BALANCER_FIREWALL_POLICY_FIELD_NUMBER

public static final int LOAD_BALANCER_FIREWALL_POLICY_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_ENDPOINT_GROUP_FIELD_NUMBER

public static final int NETWORK_ENDPOINT_GROUP_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_IP_ADDRESS_FIELD_NUMBER

public static final int PRIVATE_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_PORT_FIELD_NUMBER

public static final int PRIVATE_PORT_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_IP_ADDRESS_FIELD_NUMBER

public static final int PUBLIC_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_PORT_FIELD_NUMBER

public static final int PUBLIC_PORT_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIREWALL_POLICY_FIELD_NUMBER

public static final int SERVICE_FIREWALL_POLICY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExternalExposure getDefaultInstance()
Returns
Type Description
ExternalExposure

getDescriptor()

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

newBuilder()

public static ExternalExposure.Builder newBuilder()
Returns
Type Description
ExternalExposure.Builder

newBuilder(ExternalExposure prototype)

public static ExternalExposure.Builder newBuilder(ExternalExposure prototype)
Parameter
Name Description
prototype ExternalExposure
Returns
Type Description
ExternalExposure.Builder

parseDelimitedFrom(InputStream input)

public static ExternalExposure parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExternalExposure
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalExposure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalExposure
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExternalExposure parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExternalExposure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExternalExposure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalExposure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExternalExposure parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExternalExposure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExternalExposure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalExposure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExternalExposure parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExternalExposure
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalExposure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalExposure
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExternalExposure parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExternalExposure
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalExposure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalExposure
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExternalExposure parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExternalExposure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExternalExposure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalExposure
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExternalExposure> parser()
Returns
Type Description
Parser<ExternalExposure>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackendService()

public String getBackendService()

The full resource name of load balancer backend service, for example, "//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}".

string backend_service = 10;

Returns
Type Description
String

The backendService.

getBackendServiceBytes()

public ByteString getBackendServiceBytes()

The full resource name of load balancer backend service, for example, "//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}".

string backend_service = 10;

Returns
Type Description
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public ExternalExposure getDefaultInstanceForType()
Returns
Type Description
ExternalExposure

getExposedEndpoint()

public String getExposedEndpoint()

The resource which is running the exposed service, for example, "//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.”

string exposed_endpoint = 6;

Returns
Type Description
String

The exposedEndpoint.

getExposedEndpointBytes()

public ByteString getExposedEndpointBytes()

The resource which is running the exposed service, for example, "//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.”

string exposed_endpoint = 6;

Returns
Type Description
ByteString

The bytes for exposedEndpoint.

getExposedService()

public String getExposedService()

The name and version of the service, for example, "Jupyter Notebook 6.14.0".

string exposed_service = 3;

Returns
Type Description
String

The exposedService.

getExposedServiceBytes()

public ByteString getExposedServiceBytes()

The name and version of the service, for example, "Jupyter Notebook 6.14.0".

string exposed_service = 3;

Returns
Type Description
ByteString

The bytes for exposedService.

getForwardingRule()

public String getForwardingRule()

The full resource name of the forwarding rule, for example, "//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}".

string forwarding_rule = 9;

Returns
Type Description
String

The forwardingRule.

getForwardingRuleBytes()

public ByteString getForwardingRuleBytes()

The full resource name of the forwarding rule, for example, "//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}".

string forwarding_rule = 9;

Returns
Type Description
ByteString

The bytes for forwardingRule.

getInstanceGroup()

public String getInstanceGroup()

The full resource name of the instance group, for example, "//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}".

string instance_group = 11;

Returns
Type Description
String

The instanceGroup.

getInstanceGroupBytes()

public ByteString getInstanceGroupBytes()

The full resource name of the instance group, for example, "//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}".

string instance_group = 11;

Returns
Type Description
ByteString

The bytes for instanceGroup.

getLoadBalancerFirewallPolicy()

public String getLoadBalancerFirewallPolicy()

The full resource name of the load balancer firewall policy, for example, "//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}".

string load_balancer_firewall_policy = 7;

Returns
Type Description
String

The loadBalancerFirewallPolicy.

getLoadBalancerFirewallPolicyBytes()

public ByteString getLoadBalancerFirewallPolicyBytes()

The full resource name of the load balancer firewall policy, for example, "//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}".

string load_balancer_firewall_policy = 7;

Returns
Type Description
ByteString

The bytes for loadBalancerFirewallPolicy.

getNetworkEndpointGroup()

public String getNetworkEndpointGroup()

The full resource name of the network endpoint group, for example, "//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}".

string network_endpoint_group = 12;

Returns
Type Description
String

The networkEndpointGroup.

getNetworkEndpointGroupBytes()

public ByteString getNetworkEndpointGroupBytes()

The full resource name of the network endpoint group, for example, "//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}".

string network_endpoint_group = 12;

Returns
Type Description
ByteString

The bytes for networkEndpointGroup.

getParserForType()

public Parser<ExternalExposure> getParserForType()
Returns
Type Description
Parser<ExternalExposure>
Overrides

getPrivateIpAddress()

public String getPrivateIpAddress()

Private IP address of the exposed endpoint.

string private_ip_address = 1 [(.google.api.field_info) = { ... }

Returns
Type Description
String

The privateIpAddress.

getPrivateIpAddressBytes()

public ByteString getPrivateIpAddressBytes()

Private IP address of the exposed endpoint.

string private_ip_address = 1 [(.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for privateIpAddress.

getPrivatePort()

public String getPrivatePort()

Port number associated with private IP address.

string private_port = 2;

Returns
Type Description
String

The privatePort.

getPrivatePortBytes()

public ByteString getPrivatePortBytes()

Port number associated with private IP address.

string private_port = 2;

Returns
Type Description
ByteString

The bytes for privatePort.

getPublicIpAddress()

public String getPublicIpAddress()

Public IP address of the exposed endpoint.

string public_ip_address = 4 [(.google.api.field_info) = { ... }

Returns
Type Description
String

The publicIpAddress.

getPublicIpAddressBytes()

public ByteString getPublicIpAddressBytes()

Public IP address of the exposed endpoint.

string public_ip_address = 4 [(.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for publicIpAddress.

getPublicPort()

public String getPublicPort()

Public port number of the exposed endpoint.

string public_port = 5;

Returns
Type Description
String

The publicPort.

getPublicPortBytes()

public ByteString getPublicPortBytes()

Public port number of the exposed endpoint.

string public_port = 5;

Returns
Type Description
ByteString

The bytes for publicPort.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceFirewallPolicy()

public String getServiceFirewallPolicy()

The full resource name of the firewall policy of the exposed service, for example, "//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}".

string service_firewall_policy = 8;

Returns
Type Description
String

The serviceFirewallPolicy.

getServiceFirewallPolicyBytes()

public ByteString getServiceFirewallPolicyBytes()

The full resource name of the firewall policy of the exposed service, for example, "//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}".

string service_firewall_policy = 8;

Returns
Type Description
ByteString

The bytes for serviceFirewallPolicy.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExternalExposure.Builder newBuilderForType()
Returns
Type Description
ExternalExposure.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExternalExposure.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExternalExposure.Builder
Overrides

toBuilder()

public ExternalExposure.Builder toBuilder()
Returns
Type Description
ExternalExposure.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException