public static final class Configuration.Builder extends GeneratedMessageV3.Builder<Configuration.Builder> implements ConfigurationOrBuilder
Configuration for a Google SPLA product
Protobuf type google.cloud.licensemanager.v1.Configuration
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Configuration.BuilderImplements
ConfigurationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Configuration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
build()
public Configuration build()
Returns | |
---|---|
Type | Description |
Configuration |
buildPartial()
public Configuration buildPartial()
Returns | |
---|---|
Type | Description |
Configuration |
clear()
public Configuration.Builder clear()
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clearCreateTime()
public Configuration.Builder clearCreateTime()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clearCurrentBillingInfo()
public Configuration.Builder clearCurrentBillingInfo()
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clearDisplayName()
public Configuration.Builder clearDisplayName()
Required. User given name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Configuration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clearLabels()
public Configuration.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clearLicenseType()
public Configuration.Builder clearLicenseType()
Required. LicenseType to be applied for billing
.google.cloud.licensemanager.v1.LicenseType license_type = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
clearName()
public Configuration.Builder clearName()
Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
clearNextBillingInfo()
public Configuration.Builder clearNextBillingInfo()
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Configuration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clearProduct()
public Configuration.Builder clearProduct()
Required. Name field (with URL) of the Product offered for SPLA.
string product = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
clearState()
public Configuration.Builder clearState()
Output only. State of the configuration.
.google.cloud.licensemanager.v1.Configuration.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
clearUpdateTime()
public Configuration.Builder clearUpdateTime()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Configuration.Builder |
clone()
public Configuration.Builder clone()
Returns | |
---|---|
Type | Description |
Configuration.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getCurrentBillingInfo()
public BillingInfo getCurrentBillingInfo()
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BillingInfo |
The currentBillingInfo. |
getCurrentBillingInfoBuilder()
public BillingInfo.Builder getCurrentBillingInfoBuilder()
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BillingInfo.Builder |
getCurrentBillingInfoOrBuilder()
public BillingInfoOrBuilder getCurrentBillingInfoOrBuilder()
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BillingInfoOrBuilder |
getDefaultInstanceForType()
public Configuration getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Configuration |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. User given name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. User given name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getLicenseType()
public LicenseType getLicenseType()
Required. LicenseType to be applied for billing
.google.cloud.licensemanager.v1.LicenseType license_type = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LicenseType |
The licenseType. |
getLicenseTypeValue()
public int getLicenseTypeValue()
Required. LicenseType to be applied for billing
.google.cloud.licensemanager.v1.LicenseType license_type = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for licenseType. |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNextBillingInfo()
public BillingInfo getNextBillingInfo()
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BillingInfo |
The nextBillingInfo. |
getNextBillingInfoBuilder()
public BillingInfo.Builder getNextBillingInfoBuilder()
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BillingInfo.Builder |
getNextBillingInfoOrBuilder()
public BillingInfoOrBuilder getNextBillingInfoOrBuilder()
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BillingInfoOrBuilder |
getProduct()
public String getProduct()
Required. Name field (with URL) of the Product offered for SPLA.
string product = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The product. |
getProductBytes()
public ByteString getProductBytes()
Required. Name field (with URL) of the Product offered for SPLA.
string product = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for product. |
getState()
public Configuration.State getState()
Output only. State of the configuration.
.google.cloud.licensemanager.v1.Configuration.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Configuration.State |
The state. |
getStateValue()
public int getStateValue()
Output only. State of the configuration.
.google.cloud.licensemanager.v1.Configuration.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasCurrentBillingInfo()
public boolean hasCurrentBillingInfo()
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the currentBillingInfo field is set. |
hasNextBillingInfo()
public boolean hasNextBillingInfo()
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the nextBillingInfo field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Configuration.Builder mergeCreateTime(Timestamp value)
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
mergeCurrentBillingInfo(BillingInfo value)
public Configuration.Builder mergeCurrentBillingInfo(BillingInfo value)
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
BillingInfo |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
mergeFrom(Configuration other)
public Configuration.Builder mergeFrom(Configuration other)
Parameter | |
---|---|
Name | Description |
other |
Configuration |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Configuration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Configuration.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
mergeNextBillingInfo(BillingInfo value)
public Configuration.Builder mergeNextBillingInfo(BillingInfo value)
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
BillingInfo |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Configuration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
mergeUpdateTime(Timestamp value)
public Configuration.Builder mergeUpdateTime(Timestamp value)
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
putAllLabels(Map<String,String> values)
public Configuration.Builder putAllLabels(Map<String,String> values)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
putLabels(String key, String value)
public Configuration.Builder putLabels(String key, String value)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
removeLabels(String key)
public Configuration.Builder removeLabels(String key)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setCreateTime(Timestamp value)
public Configuration.Builder setCreateTime(Timestamp value)
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Configuration.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setCurrentBillingInfo(BillingInfo value)
public Configuration.Builder setCurrentBillingInfo(BillingInfo value)
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
BillingInfo |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setCurrentBillingInfo(BillingInfo.Builder builderForValue)
public Configuration.Builder setCurrentBillingInfo(BillingInfo.Builder builderForValue)
Required. Billing information applicable till end of the current month.
.google.cloud.licensemanager.v1.BillingInfo current_billing_info = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
BillingInfo.Builder |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setDisplayName(String value)
public Configuration.Builder setDisplayName(String value)
Required. User given name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Configuration.Builder setDisplayNameBytes(ByteString value)
Required. User given name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Configuration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setLicenseType(LicenseType value)
public Configuration.Builder setLicenseType(LicenseType value)
Required. LicenseType to be applied for billing
.google.cloud.licensemanager.v1.LicenseType license_type = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
LicenseType The licenseType to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setLicenseTypeValue(int value)
public Configuration.Builder setLicenseTypeValue(int value)
Required. LicenseType to be applied for billing
.google.cloud.licensemanager.v1.LicenseType license_type = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for licenseType to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setName(String value)
public Configuration.Builder setName(String value)
Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Configuration.Builder setNameBytes(ByteString value)
Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setNextBillingInfo(BillingInfo value)
public Configuration.Builder setNextBillingInfo(BillingInfo value)
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
BillingInfo |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setNextBillingInfo(BillingInfo.Builder builderForValue)
public Configuration.Builder setNextBillingInfo(BillingInfo.Builder builderForValue)
Required. Billing information applicable for next month.
.google.cloud.licensemanager.v1.BillingInfo next_billing_info = 9 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
BillingInfo.Builder |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setProduct(String value)
public Configuration.Builder setProduct(String value)
Required. Name field (with URL) of the Product offered for SPLA.
string product = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The product to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setProductBytes(ByteString value)
public Configuration.Builder setProductBytes(ByteString value)
Required. Name field (with URL) of the Product offered for SPLA.
string product = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for product to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Configuration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setState(Configuration.State value)
public Configuration.Builder setState(Configuration.State value)
Output only. State of the configuration.
.google.cloud.licensemanager.v1.Configuration.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Configuration.State The state to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setStateValue(int value)
public Configuration.Builder setStateValue(int value)
Output only. State of the configuration.
.google.cloud.licensemanager.v1.Configuration.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Configuration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setUpdateTime(Timestamp value)
public Configuration.Builder setUpdateTime(Timestamp value)
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Configuration.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Configuration.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Configuration.Builder |