Class InterceptLocation (0.94.0)

public final class InterceptLocation extends GeneratedMessage implements InterceptLocationOrBuilder

Details about intercept in a specific cloud location.

Protobuf type google.cloud.networksecurity.v1.InterceptLocation

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterceptLocation getDefaultInstance()
Returns
Type Description
InterceptLocation

getDescriptor()

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

newBuilder()

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

newBuilder(InterceptLocation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InterceptLocation getDefaultInstanceForType()
Returns
Type Description
InterceptLocation

getLocation()

public String getLocation()

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for location.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public InterceptLocation.State getState()

Output only. The current state of the association in this location.

.google.cloud.networksecurity.v1.InterceptLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
InterceptLocation.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the association in this location.

.google.cloud.networksecurity.v1.InterceptLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

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 InterceptLocation.Builder newBuilderForType()
Returns
Type Description
InterceptLocation.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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