public static final class LicensedUser.Builder extends GeneratedMessageV3.Builder<LicensedUser.Builder> implements LicensedUserOrBuilder
A licensed user.
Protobuf type google.cloud.commerce.consumer.procurement.v1.LicensedUser
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LicensedUser.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LicensedUser build()
buildPartial()
public LicensedUser buildPartial()
clear()
public LicensedUser.Builder clear()
Overrides
clearAssignTime()
public LicensedUser.Builder clearAssignTime()
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public LicensedUser.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LicensedUser.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecentUsageTime()
public LicensedUser.Builder clearRecentUsageTime()
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearUsername()
public LicensedUser.Builder clearUsername()
Username.
Format: name@domain.com
.
string username = 1;
clone()
public LicensedUser.Builder clone()
Overrides
getAssignTime()
public Timestamp getAssignTime()
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The assignTime.
|
getAssignTimeBuilder()
public Timestamp.Builder getAssignTimeBuilder()
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAssignTimeOrBuilder()
public TimestampOrBuilder getAssignTimeOrBuilder()
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public LicensedUser getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRecentUsageTime()
public Timestamp getRecentUsageTime()
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The recentUsageTime.
|
getRecentUsageTimeBuilder()
public Timestamp.Builder getRecentUsageTimeBuilder()
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRecentUsageTimeOrBuilder()
public TimestampOrBuilder getRecentUsageTimeOrBuilder()
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUsername()
public String getUsername()
Username.
Format: name@domain.com
.
string username = 1;
Returns |
Type |
Description |
String |
The username.
|
getUsernameBytes()
public ByteString getUsernameBytes()
Username.
Format: name@domain.com
.
string username = 1;
Returns |
Type |
Description |
ByteString |
The bytes for username.
|
hasAssignTime()
public boolean hasAssignTime()
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the assignTime field is set.
|
hasRecentUsageTime()
public boolean hasRecentUsageTime()
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the recentUsageTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAssignTime(Timestamp value)
public LicensedUser.Builder mergeAssignTime(Timestamp value)
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(LicensedUser other)
public LicensedUser.Builder mergeFrom(LicensedUser other)
public LicensedUser.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LicensedUser.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRecentUsageTime(Timestamp value)
public LicensedUser.Builder mergeRecentUsageTime(Timestamp value)
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LicensedUser.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAssignTime(Timestamp value)
public LicensedUser.Builder setAssignTime(Timestamp value)
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setAssignTime(Timestamp.Builder builderForValue)
public LicensedUser.Builder setAssignTime(Timestamp.Builder builderForValue)
Output only. Timestamp when the license was assigned.
.google.protobuf.Timestamp assign_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public LicensedUser.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRecentUsageTime(Timestamp value)
public LicensedUser.Builder setRecentUsageTime(Timestamp value)
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setRecentUsageTime(Timestamp.Builder builderForValue)
public LicensedUser.Builder setRecentUsageTime(Timestamp.Builder builderForValue)
Output only. Timestamp when the license was recently used. This may not be
the most recent usage time, and will be updated regularly (within 24
hours).
.google.protobuf.Timestamp recent_usage_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LicensedUser.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LicensedUser.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUsername(String value)
public LicensedUser.Builder setUsername(String value)
Username.
Format: name@domain.com
.
string username = 1;
Parameter |
Name |
Description |
value |
String
The username to set.
|
setUsernameBytes(ByteString value)
public LicensedUser.Builder setUsernameBytes(ByteString value)
Username.
Format: name@domain.com
.
string username = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for username to set.
|