Class AbortInfo (1.8.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
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.v1.AbortInfo.Cause cause = 1;

Returns
TypeDescription
AbortInfo.Cause

The cause.

getCauseValue()

public int getCauseValue()

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.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
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the projectsMissingPermission at the given index.

getProjectsMissingPermissionCount()

public int getProjectsMissingPermissionCount()

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;

Returns
TypeDescription
int

The count of projectsMissingPermission.

getProjectsMissingPermissionList()

public ProtocolStringList getProjectsMissingPermissionList()

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;

Returns
TypeDescription
ProtocolStringList

A list containing the projectsMissingPermission.

getResourceUri()

public String getResourceUri()

URI of the resource that caused the abort.

string resource_uri = 2;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that caused the abort.

string resource_uri = 2;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AbortInfo.Builder newBuilderForType()
Returns
TypeDescription
AbortInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AbortInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AbortInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AbortInfo.Builder toBuilder()
Returns
TypeDescription
AbortInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException