public final class AbortInfo extends GeneratedMessageV3 implements AbortInfoOrBuilder
Details of the final state "abort" and associated resource.
Protobuf type google.cloud.networkmanagement.v1beta1.AbortInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AbortInfo.Builder newBuilder()
newBuilder(AbortInfo prototype)
public static AbortInfo.Builder newBuilder(AbortInfo prototype)
Parameter |
Name |
Description |
prototype |
AbortInfo
|
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()
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()
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()
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AbortInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides