Class BillingSettings.Builder (0.52.0)

public static final class BillingSettings.Builder extends GeneratedMessageV3.Builder<BillingSettings.Builder> implements BillingSettingsOrBuilder

Billing settings

Protobuf type google.cloud.securitycenter.settings.v1beta1.BillingSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BillingSettings build()
Returns
Type Description
BillingSettings

buildPartial()

public BillingSettings buildPartial()
Returns
Type Description
BillingSettings

clear()

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

clearBillingTier()

public BillingSettings.Builder clearBillingTier()

Output only. Billing tier selected by customer

.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingSettings.Builder

This builder for chaining.

clearBillingType()

public BillingSettings.Builder clearBillingType()

Output only. Type of billing method

.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingSettings.Builder

This builder for chaining.

clearExpireTime()

public BillingSettings.Builder clearExpireTime()

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public BillingSettings.Builder clearStartTime()

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingSettings.Builder

clone()

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

getBillingTier()

public BillingTier getBillingTier()

Output only. Billing tier selected by customer

.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingTier

The billingTier.

getBillingTierValue()

public int getBillingTierValue()

Output only. Billing tier selected by customer

.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for billingTier.

getBillingType()

public BillingType getBillingType()

Output only. Type of billing method

.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingType

The billingType.

getBillingTypeValue()

public int getBillingTypeValue()

Output only. Type of billing method

.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for billingType.

getDefaultInstanceForType()

public BillingSettings getDefaultInstanceForType()
Returns
Type Description
BillingSettings

getDescriptorForType()

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

getExpireTime()

public Timestamp getExpireTime()

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasExpireTime()

public boolean hasExpireTime()

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpireTime(Timestamp value)

public BillingSettings.Builder mergeExpireTime(Timestamp value)

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingSettings.Builder

mergeFrom(BillingSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public BillingSettings.Builder mergeStartTime(Timestamp value)

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBillingTier(BillingTier value)

public BillingSettings.Builder setBillingTier(BillingTier value)

Output only. Billing tier selected by customer

.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value BillingTier

The billingTier to set.

Returns
Type Description
BillingSettings.Builder

This builder for chaining.

setBillingTierValue(int value)

public BillingSettings.Builder setBillingTierValue(int value)

Output only. Billing tier selected by customer

.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
BillingSettings.Builder

This builder for chaining.

setBillingType(BillingType value)

public BillingSettings.Builder setBillingType(BillingType value)

Output only. Type of billing method

.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value BillingType

The billingType to set.

Returns
Type Description
BillingSettings.Builder

This builder for chaining.

setBillingTypeValue(int value)

public BillingSettings.Builder setBillingTypeValue(int value)

Output only. Type of billing method

.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
BillingSettings.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public BillingSettings.Builder setExpireTime(Timestamp value)

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingSettings.Builder

setExpireTime(Timestamp.Builder builderForValue)

public BillingSettings.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. The absolute point in time when the subscription expires.

If this field is populated and billing_tier is STANDARD, this is indication of a point in the past when a PREMIUM access ended.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BillingSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public BillingSettings.Builder setStartTime(Timestamp value)

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingSettings.Builder

setStartTime(Timestamp.Builder builderForValue)

public BillingSettings.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The absolute point in time when the subscription became effective. Can be compared to expire_time value to determine full contract duration

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BillingSettings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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