Class AbortInfo.Builder (1.1.10)

public static final class AbortInfo.Builder extends GeneratedMessageV3.Builder<AbortInfo.Builder> implements AbortInfoOrBuilder

Details of the final state "abort" and associated resource.

Protobuf type google.cloud.networkmanagement.v1.AbortInfo

Implements

AbortInfoOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AbortInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AbortInfo.Builder
Overrides

build()

public AbortInfo build()
Returns
TypeDescription
AbortInfo

buildPartial()

public AbortInfo buildPartial()
Returns
TypeDescription
AbortInfo

clear()

public AbortInfo.Builder clear()
Returns
TypeDescription
AbortInfo.Builder
Overrides

clearCause()

public AbortInfo.Builder clearCause()

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;

Returns
TypeDescription
AbortInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AbortInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AbortInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AbortInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AbortInfo.Builder
Overrides

clearResourceUri()

public AbortInfo.Builder clearResourceUri()

URI of the resource that caused the abort.

string resource_uri = 2;

Returns
TypeDescription
AbortInfo.Builder

This builder for chaining.

clone()

public AbortInfo.Builder clone()
Returns
TypeDescription
AbortInfo.Builder
Overrides

getCause()

public AbortInfo.Cause getCause()

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;

Returns
TypeDescription
AbortInfo.Cause

The cause.

getCauseValue()

public int getCauseValue()

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for cause.

getDefaultInstanceForType()

public AbortInfo getDefaultInstanceForType()
Returns
TypeDescription
AbortInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResourceUri()

public String getResourceUri()

URI of the resource that caused the abort.

string resource_uri = 2;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

URI of the resource that caused the abort.

string resource_uri = 2;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AbortInfo other)

public AbortInfo.Builder mergeFrom(AbortInfo other)
Parameter
NameDescription
otherAbortInfo
Returns
TypeDescription
AbortInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AbortInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AbortInfo.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AbortInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AbortInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AbortInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AbortInfo.Builder
Overrides

setCause(AbortInfo.Cause value)

public AbortInfo.Builder setCause(AbortInfo.Cause value)

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;

Parameter
NameDescription
valueAbortInfo.Cause

The cause to set.

Returns
TypeDescription
AbortInfo.Builder

This builder for chaining.

setCauseValue(int value)

public AbortInfo.Builder setCauseValue(int value)

Causes that the analysis is aborted.

.google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for cause to set.

Returns
TypeDescription
AbortInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AbortInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AbortInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AbortInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AbortInfo.Builder
Overrides

setResourceUri(String value)

public AbortInfo.Builder setResourceUri(String value)

URI of the resource that caused the abort.

string resource_uri = 2;

Parameter
NameDescription
valueString

The resourceUri to set.

Returns
TypeDescription
AbortInfo.Builder

This builder for chaining.

setResourceUriBytes(ByteString value)

public AbortInfo.Builder setResourceUriBytes(ByteString value)

URI of the resource that caused the abort.

string resource_uri = 2;

Parameter
NameDescription
valueByteString

The bytes for resourceUri to set.

Returns
TypeDescription
AbortInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AbortInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AbortInfo.Builder
Overrides