public static final class BillingSettings.Builder extends GeneratedMessageV3.Builder<BillingSettings.Builder> implements BillingSettingsOrBuilderBilling settings
Protobuf type google.cloud.securitycenter.settings.v1beta1.BillingSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BillingSettings.BuilderImplements
BillingSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BillingSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
BillingSettings.Builder |
build()
public BillingSettings build()| Type | Description |
BillingSettings |
buildPartial()
public BillingSettings buildPartial()| Type | Description |
BillingSettings |
clear()
public BillingSettings.Builder clear()| Type | Description |
BillingSettings.Builder |
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];
| 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];
| 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];
| Type | Description |
BillingSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public BillingSettings.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
BillingSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BillingSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
BillingSettings.Builder |
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];
| Type | Description |
BillingSettings.Builder |
clone()
public BillingSettings.Builder clone()| Type | Description |
BillingSettings.Builder |
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];
| 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];
| 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];
| 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];
| Type | Description |
int |
The enum numeric value on the wire for billingType. |
getDefaultInstanceForType()
public BillingSettings getDefaultInstanceForType()| Type | Description |
BillingSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
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];
| 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];
| 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];
| 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];
| 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];
| 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];
| 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];
| 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];
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
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];
| Name | Description |
value |
Timestamp |
| Type | Description |
BillingSettings.Builder |
mergeFrom(BillingSettings other)
public BillingSettings.Builder mergeFrom(BillingSettings other)| Name | Description |
other |
BillingSettings |
| Type | Description |
BillingSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BillingSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
BillingSettings.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public BillingSettings.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
BillingSettings.Builder |
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];
| Name | Description |
value |
Timestamp |
| Type | Description |
BillingSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BillingSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
BillingSettings.Builder |
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];
| Name | Description |
value |
BillingTierThe billingTier to set. |
| 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];
| Name | Description |
value |
intThe enum numeric value on the wire for billingTier to set. |
| 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];
| Name | Description |
value |
BillingTypeThe billingType to set. |
| 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];
| Name | Description |
value |
intThe enum numeric value on the wire for billingType to set. |
| 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];
| Name | Description |
value |
Timestamp |
| 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];
| Name | Description |
builderForValue |
Builder |
| Type | Description |
BillingSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BillingSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
BillingSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BillingSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
BillingSettings.Builder |
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];
| Name | Description |
value |
Timestamp |
| 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];
| Name | Description |
builderForValue |
Builder |
| Type | Description |
BillingSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BillingSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
BillingSettings.Builder |