Class AbortInfo (1.50.0)

public final class AbortInfo extends GeneratedMessageV3 implements AbortInfoOrBuilder

Details of the final state "abort" and associated resource.

Protobuf type google.cloud.networkmanagement.v1.AbortInfo

Implements

AbortInfoOrBuilder

Static Fields

CAUSE_FIELD_NUMBER

public static final int CAUSE_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

PROJECTS_MISSING_PERMISSION_FIELD_NUMBER

public static final int PROJECTS_MISSING_PERMISSION_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AbortInfo getDefaultInstance()
Returns
Type Description
AbortInfo

getDescriptor()

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

newBuilder()

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

newBuilder(AbortInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCause()

public AbortInfo.Cause getCause()

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;

Returns
Type Description
AbortInfo.Cause

The cause.

getCauseValue()

public int getCauseValue()

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;

Returns
Type Description
int

The enum numeric value on the wire for cause.

getDefaultInstanceForType()

public AbortInfo getDefaultInstanceForType()
Returns
Type Description
AbortInfo

getIpAddress()

public String getIpAddress()

IP address that caused the abort.

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

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

IP address that caused the abort.

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

Returns
Type Description
ByteString

The bytes for ipAddress.

getParserForType()

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

getProjectsMissingPermission(int index)

public String getProjectsMissingPermission(int index)

List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause.

repeated string projects_missing_permission = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The projectsMissingPermission at the given index.

getProjectsMissingPermissionBytes(int index)

public ByteString getProjectsMissingPermissionBytes(int index)

List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause.

repeated string projects_missing_permission = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the projectsMissingPermission at the given index.

getProjectsMissingPermissionCount()

public int getProjectsMissingPermissionCount()

List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause.

repeated string projects_missing_permission = 3;

Returns
Type Description
int

The count of projectsMissingPermission.

getProjectsMissingPermissionList()

public ProtocolStringList getProjectsMissingPermissionList()

List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause.

repeated string projects_missing_permission = 3;

Returns
Type Description
ProtocolStringList

A list containing the projectsMissingPermission.

getResourceUri()

public String getResourceUri()

URI of the resource that caused the abort.

string resource_uri = 2;

Returns
Type Description
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that caused the abort.

string resource_uri = 2;

Returns
Type Description
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AbortInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AbortInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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