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.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.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.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.AbortInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AbortInfo
build()
AbortInfo
buildPartial()
AbortInfo.Builder
clear()
AbortInfo.Builder
clearCause()
Causes that the analysis is aborted.AbortInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AbortInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AbortInfo.Builder
clearProjectsMissingPermission()
List of project IDs that the user has specified in the request but does not have permission to access network configs.AbortInfo.Builder
clearResourceUri()
URI of the resource that caused the abort.AbortInfo.Builder
clone()
AbortInfo.Cause
getCause()
Causes that the analysis is aborted.int
getCauseValue()
Causes that the analysis is aborted.AbortInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.int
getProjectsMissingPermissionCount()
List of project IDs that the user has specified in the request but does not have permission to access network configs.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.String
getResourceUri()
URI of the resource that caused the abort.com.google.protobuf.ByteString
getResourceUriBytes()
URI of the resource that caused the abort.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AbortInfo.Builder
mergeFrom(AbortInfo other)
AbortInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AbortInfo.Builder
mergeFrom(com.google.protobuf.Message other)
AbortInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AbortInfo.Builder
setCause(AbortInfo.Cause value)
Causes that the analysis is aborted.AbortInfo.Builder
setCauseValue(int value)
Causes that the analysis is aborted.AbortInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.AbortInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AbortInfo.Builder
setResourceUri(String value)
URI of the resource that caused the abort.AbortInfo.Builder
setResourceUriBytes(com.google.protobuf.ByteString value)
URI of the resource that caused the abort.AbortInfo.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
clear
public AbortInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
getDefaultInstanceForType
public AbortInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AbortInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AbortInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AbortInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
setField
public AbortInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
clearField
public AbortInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
clearOneof
public AbortInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
setRepeatedField
public AbortInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
addRepeatedField
public AbortInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
mergeFrom
public AbortInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AbortInfo.Builder>
-
mergeFrom
public AbortInfo.Builder mergeFrom(AbortInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getCauseValue
in 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:
getCause
in 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:
getResourceUri
in 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:
getResourceUriBytes
in 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:
getProjectsMissingPermissionList
in 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:
getProjectsMissingPermissionCount
in 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:
getProjectsMissingPermission
in 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:
getProjectsMissingPermissionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
mergeUnknownFields
public final AbortInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AbortInfo.Builder>
-
-