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 |
---|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AbortInfo.Builder newBuilder()
newBuilder(AbortInfo prototype)
public static AbortInfo.Builder newBuilder(AbortInfo prototype)
public static AbortInfo parseDelimitedFrom(InputStream input)
public static AbortInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AbortInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AbortInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(CodedInputStream input)
public static AbortInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(InputStream input)
public static AbortInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AbortInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AbortInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AbortInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCause()
public AbortInfo.Cause getCause()
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;
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()
getParserForType()
public Parser<AbortInfo> getParserForType()
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;
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AbortInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AbortInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AbortInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides