Class AbortInfo (1.20.0)

public final class AbortInfo extends GeneratedMessageV3 implements AbortInfoOrBuilder

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

Protobuf type google.cloud.networkmanagement.v1beta1.AbortInfo

Implements

AbortInfoOrBuilder

Static Fields

CAUSE_FIELD_NUMBER

public static final int CAUSE_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECTS_MISSING_PERMISSION_FIELD_NUMBER

public static final int PROJECTS_MISSING_PERMISSION_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AbortInfo getDefaultInstance()
Returns
TypeDescription
AbortInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AbortInfo.Builder newBuilder()
Returns
TypeDescription
AbortInfo.Builder

newBuilder(AbortInfo prototype)

public static AbortInfo.Builder newBuilder(AbortInfo prototype)
Parameter
NameDescription
prototypeAbortInfo
Returns
TypeDescription
AbortInfo.Builder

parseDelimitedFrom(InputStream input)

public static AbortInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AbortInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AbortInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AbortInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AbortInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AbortInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AbortInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AbortInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AbortInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AbortInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AbortInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AbortInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AbortInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AbortInfo> parser()
Returns
TypeDescription
Parser<AbortInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCause()

public AbortInfo.Cause getCause()

Causes that the analysis is aborted.

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

Returns
TypeDescription
AbortInfo.Cause

The cause.

getCauseValue()

public int getCauseValue()

Causes that the analysis is aborted.

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

Returns
TypeDescription
int

The enum numeric value on the wire for cause.

getDefaultInstanceForType()

public AbortInfo getDefaultInstanceForType()
Returns
TypeDescription
AbortInfo

getParserForType()

public Parser<AbortInfo> getParserForType()
Returns
TypeDescription
Parser<AbortInfo>
Overrides

getProjectsMissingPermission(int index)

public String getProjectsMissingPermission(int index)

List of project IDs that the user has specified in the request but does not have permission to access network configs. Analysis is aborted in this case with the PERMISSION_DENIED cause.

repeated string projects_missing_permission = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The projectsMissingPermission at the given index.

getProjectsMissingPermissionBytes(int index)

public ByteString getProjectsMissingPermissionBytes(int index)

List of project IDs that the user has specified in the request but does not have permission to access network configs. Analysis is aborted in this case with the PERMISSION_DENIED cause.

repeated string projects_missing_permission = 3;

Parameter
NameDescription
index