Class BillingSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BillingSettings.Builder>
com.google.cloud.securitycenter.settings.v1beta1.BillingSettings.Builder
- All Implemented Interfaces:
BillingSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BillingSettings
public static final class BillingSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BillingSettings.Builder>
implements BillingSettingsOrBuilder
Billing settingsProtobuf type
google.cloud.securitycenter.settings.v1beta1.BillingSettings-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.intOutput only.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpireTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(BillingSettings other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.setBillingTier(BillingTier value) Output only.setBillingTierValue(int value) Output only.setBillingType(BillingType value) Output only.setBillingTypeValue(int value) Output only.setExpireTime(com.google.protobuf.Timestamp value) Output only.setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BillingSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BillingSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BillingSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BillingSettings.Builder>
-
mergeFrom
public BillingSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingSettings.Builder>- Throws:
IOException
-
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];- Specified by:
getBillingTierValuein interfaceBillingSettingsOrBuilder- Returns:
- The enum numeric value on the wire for billingTier.
-
setBillingTierValue
Output only. Billing tier selected by customer
.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for billingTier to set.- Returns:
- This builder for chaining.
-
getBillingTier
Output only. Billing tier selected by customer
.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBillingTierin interfaceBillingSettingsOrBuilder- Returns:
- The billingTier.
-
setBillingTier
Output only. Billing tier selected by customer
.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The billingTier to set.- Returns:
- This builder for chaining.
-
clearBillingTier
Output only. Billing tier selected by customer
.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getBillingTypeValuein interfaceBillingSettingsOrBuilder- Returns:
- The enum numeric value on the wire for billingType.
-
setBillingTypeValue
Output only. Type of billing method
.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for billingType to set.- Returns:
- This builder for chaining.
-
getBillingType
Output only. Type of billing method
.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBillingTypein interfaceBillingSettingsOrBuilder- Returns:
- The billingType.
-
setBillingType
Output only. Type of billing method
.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The billingType to set.- Returns:
- This builder for chaining.
-
clearBillingType
Output only. Type of billing method
.google.cloud.securitycenter.settings.v1beta1.BillingType billing_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasStartTimein interfaceBillingSettingsOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.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];- Specified by:
getStartTimein interfaceBillingSettingsOrBuilder- Returns:
- The startTime.
-
setStartTime
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]; -
setStartTime
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]; -
mergeStartTime
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]; -
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]; -
getStartTimeBuilder
public com.google.protobuf.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]; -
getStartTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getStartTimeOrBuilderin interfaceBillingSettingsOrBuilder
-
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];- Specified by:
hasExpireTimein interfaceBillingSettingsOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.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];- Specified by:
getExpireTimein interfaceBillingSettingsOrBuilder- Returns:
- The expireTime.
-
setExpireTime
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]; -
setExpireTime
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]; -
mergeExpireTime
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]; -
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]; -
getExpireTimeBuilder
public com.google.protobuf.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]; -
getExpireTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getExpireTimeOrBuilderin interfaceBillingSettingsOrBuilder
-