Class AbortInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AbortInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder
- All Implemented Interfaces:
AbortInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AbortInfo
public static final class AbortInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AbortInfo.Builder>
implements AbortInfoOrBuilder
Details of the final state "abort" and associated resource.Protobuf type
google.cloud.networkmanagement.v1beta1.AbortInfo-
Method Summary
Modifier and TypeMethodDescriptionList of project IDs the user specified in the request but lacks access to.List of project IDs the user specified in the request but lacks access to.addProjectsMissingPermissionBytes(com.google.protobuf.ByteString value) List of project IDs the user specified in the request but lacks access to.build()clear()Causes that the analysis is aborted.IP address that caused the abort.List of project IDs the user specified in the request but lacks access to.URI of the resource that caused the abort.getCause()Causes that the analysis is aborted.intCauses that the analysis is aborted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIP address that caused the abort.com.google.protobuf.ByteStringIP address that caused the abort.getProjectsMissingPermission(int index) List of project IDs the user specified in the request but lacks access to.com.google.protobuf.ByteStringgetProjectsMissingPermissionBytes(int index) List of project IDs the user specified in the request but lacks access to.intList of project IDs the user specified in the request but lacks access to.com.google.protobuf.ProtocolStringListList of project IDs the user specified in the request but lacks access to.URI of the resource that caused the abort.com.google.protobuf.ByteStringURI of the resource that caused the abort.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCause(AbortInfo.Cause value) Causes that the analysis is aborted.setCauseValue(int value) Causes that the analysis is aborted.setIpAddress(String value) IP address that caused the abort.setIpAddressBytes(com.google.protobuf.ByteString value) IP address that caused the abort.setProjectsMissingPermission(int index, String value) List of project IDs the user specified in the request but lacks access to.setResourceUri(String value) URI of the resource that caused the abort.setResourceUriBytes(com.google.protobuf.ByteString value) URI of the resource that caused the abort.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AbortInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AbortInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AbortInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AbortInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AbortInfo.Builder>
-
mergeFrom
public AbortInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AbortInfo.Builder>- Throws:
IOException
-
getCauseValue
public int getCauseValue()Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;- Specified by:
getCauseValuein interfaceAbortInfoOrBuilder- Returns:
- The enum numeric value on the wire for cause.
-
setCauseValue
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;- Parameters:
value- The enum numeric value on the wire for cause to set.- Returns:
- This builder for chaining.
-
getCause
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;- Specified by:
getCausein interfaceAbortInfoOrBuilder- Returns:
- The cause.
-
setCause
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;- Parameters:
value- The cause to set.- Returns:
- This builder for chaining.
-
clearCause
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1;- Returns:
- This builder for chaining.
-
getResourceUri
URI of the resource that caused the abort.
string resource_uri = 2;- Specified by:
getResourceUriin interfaceAbortInfoOrBuilder- Returns:
- The resourceUri.
-
getResourceUriBytes
public com.google.protobuf.ByteString getResourceUriBytes()URI of the resource that caused the abort.
string resource_uri = 2;- Specified by:
getResourceUriBytesin interfaceAbortInfoOrBuilder- Returns:
- The bytes for resourceUri.
-
setResourceUri
URI of the resource that caused the abort.
string resource_uri = 2;- Parameters:
value- The resourceUri to set.- Returns:
- This builder for chaining.
-
clearResourceUri
URI of the resource that caused the abort.
string resource_uri = 2;- Returns:
- This builder for chaining.
-
setResourceUriBytes
URI of the resource that caused the abort.
string resource_uri = 2;- Parameters:
value- The bytes for resourceUri to set.- Returns:
- This builder for chaining.
-
getIpAddress
IP address that caused the abort.
string ip_address = 4 [(.google.api.field_info) = { ... }- Specified by:
getIpAddressin interfaceAbortInfoOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()IP address that caused the abort.
string ip_address = 4 [(.google.api.field_info) = { ... }- Specified by:
getIpAddressBytesin interfaceAbortInfoOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
IP address that caused the abort.
string ip_address = 4 [(.google.api.field_info) = { ... }- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
IP address that caused the abort.
string ip_address = 4 [(.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setIpAddressBytes
IP address that caused the abort.
string ip_address = 4 [(.google.api.field_info) = { ... }- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
getProjectsMissingPermissionList
public com.google.protobuf.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;- Specified by:
getProjectsMissingPermissionListin interfaceAbortInfoOrBuilder- Returns:
- A list containing the projectsMissingPermission.
-
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;- Specified by:
getProjectsMissingPermissionCountin interfaceAbortInfoOrBuilder- Returns:
- The count of projectsMissingPermission.
-
getProjectsMissingPermission
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;- Specified by:
getProjectsMissingPermissionin interfaceAbortInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The projectsMissingPermission at the given index.
-
getProjectsMissingPermissionBytes
public com.google.protobuf.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;- Specified by:
getProjectsMissingPermissionBytesin interfaceAbortInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the projectsMissingPermission at the given index.
-
setProjectsMissingPermission
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;- Parameters:
index- The index to set the value at.value- The projectsMissingPermission to set.- Returns:
- This builder for chaining.
-
addProjectsMissingPermission
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;- Parameters:
value- The projectsMissingPermission to add.- Returns:
- This builder for chaining.
-
addAllProjectsMissingPermission
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;- Parameters:
values- The projectsMissingPermission to add.- Returns:
- This builder for chaining.
-
clearProjectsMissingPermission
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:
- This builder for chaining.
-
addProjectsMissingPermissionBytes
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;- Parameters:
value- The bytes of the projectsMissingPermission to add.- Returns:
- This builder for chaining.
-