Class DependencyErrorDetail.Builder (0.6.0)

public static final class DependencyErrorDetail.Builder extends GeneratedMessageV3.Builder<DependencyErrorDetail.Builder> implements DependencyErrorDetailOrBuilder

Details describing error condition of a dependency.

Protobuf type google.cloud.apihub.v1.DependencyErrorDetail

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DependencyErrorDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

build()

public DependencyErrorDetail build()
Returns
Type Description
DependencyErrorDetail

buildPartial()

public DependencyErrorDetail buildPartial()
Returns
Type Description
DependencyErrorDetail

clear()

public DependencyErrorDetail.Builder clear()
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

clearError()

public DependencyErrorDetail.Builder clearError()

Optional. Error in the dependency.

.google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DependencyErrorDetail.Builder

This builder for chaining.

clearErrorTime()

public DependencyErrorDetail.Builder clearErrorTime()

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DependencyErrorDetail.Builder

clearField(Descriptors.FieldDescriptor field)

public DependencyErrorDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DependencyErrorDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

clone()

public DependencyErrorDetail.Builder clone()
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

getDefaultInstanceForType()

public DependencyErrorDetail getDefaultInstanceForType()
Returns
Type Description
DependencyErrorDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public DependencyErrorDetail.Error getError()

Optional. Error in the dependency.

.google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DependencyErrorDetail.Error

The error.

getErrorTime()

public Timestamp getErrorTime()

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The errorTime.

getErrorTimeBuilder()

public Timestamp.Builder getErrorTimeBuilder()

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getErrorTimeOrBuilder()

public TimestampOrBuilder getErrorTimeOrBuilder()

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getErrorValue()

public int getErrorValue()

Optional. Error in the dependency.

.google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for error.

hasErrorTime()

public boolean hasErrorTime()

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the errorTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeErrorTime(Timestamp value)

public DependencyErrorDetail.Builder mergeErrorTime(Timestamp value)

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
DependencyErrorDetail.Builder

mergeFrom(DependencyErrorDetail other)

public DependencyErrorDetail.Builder mergeFrom(DependencyErrorDetail other)
Parameter
Name Description
other DependencyErrorDetail
Returns
Type Description
DependencyErrorDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DependencyErrorDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DependencyErrorDetail.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DependencyErrorDetail.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DependencyErrorDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

setError(DependencyErrorDetail.Error value)

public DependencyErrorDetail.Builder setError(DependencyErrorDetail.Error value)

Optional. Error in the dependency.

.google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DependencyErrorDetail.Error

The error to set.

Returns
Type Description
DependencyErrorDetail.Builder

This builder for chaining.

setErrorTime(Timestamp value)

public DependencyErrorDetail.Builder setErrorTime(Timestamp value)

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
DependencyErrorDetail.Builder

setErrorTime(Timestamp.Builder builderForValue)

public DependencyErrorDetail.Builder setErrorTime(Timestamp.Builder builderForValue)

Optional. Timestamp at which the error was found.

.google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DependencyErrorDetail.Builder

setErrorValue(int value)

public DependencyErrorDetail.Builder setErrorValue(int value)

Optional. Error in the dependency.

.google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
DependencyErrorDetail.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DependencyErrorDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

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

public DependencyErrorDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DependencyErrorDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DependencyErrorDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DependencyErrorDetail.Builder
Overrides