Class IntRange.Builder (0.1.0)

public static final class IntRange.Builder extends GeneratedMessageV3.Builder<IntRange.Builder> implements IntRangeOrBuilder

Number range for number parameters.

Protobuf type google.cloud.cloudsecuritycompliance.v1.IntRange

Implements

IntRangeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IntRange build()
Returns
Type Description
IntRange

buildPartial()

public IntRange buildPartial()
Returns
Type Description
IntRange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMax()

public IntRange.Builder clearMax()

Required. Maximum allowed value for the numeric parameter (inclusive).

int64 max = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntRange.Builder

This builder for chaining.

clearMin()

public IntRange.Builder clearMin()

Required. Minimum allowed value for the numeric parameter (inclusive).

int64 min = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntRange.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public IntRange getDefaultInstanceForType()
Returns
Type Description
IntRange

getDescriptorForType()

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

getMax()

public long getMax()

Required. Maximum allowed value for the numeric parameter (inclusive).

int64 max = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The max.

getMin()

public long getMin()

Required. Minimum allowed value for the numeric parameter (inclusive).

int64 min = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The min.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IntRange other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMax(long value)

public IntRange.Builder setMax(long value)

Required. Maximum allowed value for the numeric parameter (inclusive).

int64 max = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The max to set.

Returns
Type Description
IntRange.Builder

This builder for chaining.

setMin(long value)

public IntRange.Builder setMin(long value)

Required. Minimum allowed value for the numeric parameter (inclusive).

int64 min = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The min to set.

Returns
Type Description
IntRange.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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