public final class AbortInfo extends GeneratedMessageV3 implements AbortInfoOrBuilder
Details of the final state "abort" and associated resource.
Protobuf type google.cloud.networkmanagement.v1beta1.AbortInfo
Static Fields
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER
Field Value
PROJECTS_MISSING_PERMISSION_FIELD_NUMBER
public static final int PROJECTS_MISSING_PERMISSION_FIELD_NUMBER
Field Value
RESOURCE_URI_FIELD_NUMBER
public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AbortInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AbortInfo.Builder newBuilder()
Returns
newBuilder(AbortInfo prototype)
public static AbortInfo.Builder newBuilder(AbortInfo prototype)
Parameter
Returns
public static AbortInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AbortInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AbortInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AbortInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AbortInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AbortInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AbortInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AbortInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AbortInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AbortInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCause()
public AbortInfo.Cause getCause()
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;
Returns
getCauseValue()
public int getCauseValue()
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for cause.
|
getDefaultInstanceForType()
public AbortInfo getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AbortInfo> getParserForType()
Returns
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
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 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
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 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
Type | Description |
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
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AbortInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AbortInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AbortInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions