Class AbortInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
- com.google.cloud.networkmanagement.v1.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.GeneratedMessageV3.Builder<AbortInfo.Builder> implements AbortInfoOrBuilder
Details of the final state "abort" and associated resource.
Protobuf typegoogle.cloud.networkmanagement.v1.AbortInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbortInfo.BuilderaddAllProjectsMissingPermission(Iterable<String> values)List of project IDs that the user has specified in the request but does not have permission to access network configs.AbortInfo.BuilderaddProjectsMissingPermission(String value)List of project IDs that the user has specified in the request but does not have permission to access network configs.AbortInfo.BuilderaddProjectsMissingPermissionBytes(com.google.protobuf.ByteString value)List of project IDs that the user has specified in the request but does not have permission to access network configs.AbortInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AbortInfobuild()AbortInfobuildPartial()AbortInfo.Builderclear()AbortInfo.BuilderclearCause()Causes that the analysis is aborted.AbortInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AbortInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AbortInfo.BuilderclearProjectsMissingPermission()List of project IDs that the user has specified in the request but does not have permission to access network configs.AbortInfo.BuilderclearResourceUri()URI of the resource that caused the abort.AbortInfo.Builderclone()AbortInfo.CausegetCause()Causes that the analysis is aborted.intgetCauseValue()Causes that the analysis is aborted.AbortInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetProjectsMissingPermission(int index)List of project IDs that the user has specified in the request but does not have permission to access network configs.com.google.protobuf.ByteStringgetProjectsMissingPermissionBytes(int index)List of project IDs that the user has specified in the request but does not have permission to access network configs.intgetProjectsMissingPermissionCount()List of project IDs that the user has specified in the request but does not have permission to access network configs.com.google.protobuf.ProtocolStringListgetProjectsMissingPermissionList()List of project IDs that the user has specified in the request but does not have permission to access network configs.StringgetResourceUri()URI of the resource that caused the abort.com.google.protobuf.ByteStringgetResourceUriBytes()URI of the resource that caused the abort.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AbortInfo.BuildermergeFrom(AbortInfo other)AbortInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AbortInfo.BuildermergeFrom(com.google.protobuf.Message other)AbortInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AbortInfo.BuildersetCause(AbortInfo.Cause value)Causes that the analysis is aborted.AbortInfo.BuildersetCauseValue(int value)Causes that the analysis is aborted.AbortInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AbortInfo.BuildersetProjectsMissingPermission(int index, String value)List of project IDs that the user has specified in the request but does not have permission to access network configs.AbortInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AbortInfo.BuildersetResourceUri(String value)URI of the resource that caused the abort.AbortInfo.BuildersetResourceUriBytes(com.google.protobuf.ByteString value)URI of the resource that caused the abort.AbortInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
clear
public AbortInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
getDefaultInstanceForType
public AbortInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AbortInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AbortInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AbortInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
setField
public AbortInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
clearField
public AbortInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
clearOneof
public AbortInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
setRepeatedField
public AbortInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
addRepeatedField
public AbortInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
mergeFrom
public AbortInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AbortInfo.Builder>
-
mergeFrom
public AbortInfo.Builder mergeFrom(AbortInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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.v1.AbortInfo.Cause cause = 1;- Specified by:
getCauseValuein interfaceAbortInfoOrBuilder- Returns:
- The enum numeric value on the wire for cause.
-
setCauseValue
public AbortInfo.Builder setCauseValue(int value)
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;- Parameters:
value- The enum numeric value on the wire for cause to set.- Returns:
- This builder for chaining.
-
getCause
public AbortInfo.Cause getCause()
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;- Specified by:
getCausein interfaceAbortInfoOrBuilder- Returns:
- The cause.
-
setCause
public AbortInfo.Builder setCause(AbortInfo.Cause value)
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;- Parameters:
value- The cause to set.- Returns:
- This builder for chaining.
-
clearCause
public AbortInfo.Builder clearCause()
Causes that the analysis is aborted.
.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;- Returns:
- This builder for chaining.
-
getResourceUri
public String 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
public AbortInfo.Builder setResourceUri(String value)
URI of the resource that caused the abort.
string resource_uri = 2;- Parameters:
value- The resourceUri to set.- Returns:
- This builder for chaining.
-
clearResourceUri
public AbortInfo.Builder clearResourceUri()
URI of the resource that caused the abort.
string resource_uri = 2;- Returns:
- This builder for chaining.
-
setResourceUriBytes
public AbortInfo.Builder setResourceUriBytes(com.google.protobuf.ByteString value)
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.
-
getProjectsMissingPermissionList
public com.google.protobuf.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;- Specified by:
getProjectsMissingPermissionListin interfaceAbortInfoOrBuilder- Returns:
- A list containing the projectsMissingPermission.
-
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;- Specified by:
getProjectsMissingPermissionCountin interfaceAbortInfoOrBuilder- Returns:
- The count of projectsMissingPermission.
-
getProjectsMissingPermission
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;- 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 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;- Specified by:
getProjectsMissingPermissionBytesin interfaceAbortInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the projectsMissingPermission at the given index.
-
setProjectsMissingPermission
public AbortInfo.Builder setProjectsMissingPermission(int index, String value)
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;- Parameters:
index- The index to set the value at.value- The projectsMissingPermission to set.- Returns:
- This builder for chaining.
-
addProjectsMissingPermission
public AbortInfo.Builder addProjectsMissingPermission(String value)
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;- Parameters:
value- The projectsMissingPermission to add.- Returns:
- This builder for chaining.
-
addAllProjectsMissingPermission
public AbortInfo.Builder addAllProjectsMissingPermission(Iterable<String> values)
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;- Parameters:
values- The projectsMissingPermission to add.- Returns:
- This builder for chaining.
-
clearProjectsMissingPermission
public AbortInfo.Builder clearProjectsMissingPermission()
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:
- This builder for chaining.
-
addProjectsMissingPermissionBytes
public AbortInfo.Builder addProjectsMissingPermissionBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the projectsMissingPermission to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AbortInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
mergeUnknownFields
public final AbortInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
-