public static final class User.Builder extends GeneratedMessageV3.Builder<User.Builder> implements UserOrBuilderUser represents a user connected to the service providers through a AccountConnector.
Protobuf type google.cloud.developerconnect.v1.User
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > User.BuilderImplements
UserOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public User.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
build()
public User build()| Returns | |
|---|---|
| Type | Description |
User |
|
buildPartial()
public User buildPartial()| Returns | |
|---|---|
| Type | Description |
User |
|
clear()
public User.Builder clear()| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
clearCreateTime()
public User.Builder clearCreateTime()Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
clearDisplayName()
public User.Builder clearDisplayName()Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
User.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public User.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
clearLastTokenRequestTime()
public User.Builder clearLastTokenRequestTime()Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
clearName()
public User.Builder clearName() Identifier. Resource name of the user, in the format
projects/*/locations/*/accountConnectors/*/users/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
User.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public User.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
clone()
public User.Builder clone()| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public User getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
User |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getLastTokenRequestTime()
public Timestamp getLastTokenRequestTime()Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastTokenRequestTime. |
getLastTokenRequestTimeBuilder()
public Timestamp.Builder getLastTokenRequestTimeBuilder()Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLastTokenRequestTimeOrBuilder()
public TimestampOrBuilder getLastTokenRequestTimeOrBuilder()Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getName()
public String getName() Identifier. Resource name of the user, in the format
projects/*/locations/*/accountConnectors/*/users/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. Resource name of the user, in the format
projects/*/locations/*/accountConnectors/*/users/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasCreateTime()
public boolean hasCreateTime()Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasLastTokenRequestTime()
public boolean hasLastTokenRequestTime()Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastTokenRequestTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public User.Builder mergeCreateTime(Timestamp value)Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
mergeFrom(User other)
public User.Builder mergeFrom(User other)| Parameter | |
|---|---|
| Name | Description |
other |
User |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public User.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public User.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
mergeLastTokenRequestTime(Timestamp value)
public User.Builder mergeLastTokenRequestTime(Timestamp value)Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final User.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
setCreateTime(Timestamp value)
public User.Builder setCreateTime(Timestamp value)Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public User.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp when the user was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
setDisplayName(String value)
public User.Builder setDisplayName(String value)Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public User.Builder setDisplayNameBytes(ByteString value)Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public User.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
setLastTokenRequestTime(Timestamp value)
public User.Builder setLastTokenRequestTime(Timestamp value)Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
setLastTokenRequestTime(Timestamp.Builder builderForValue)
public User.Builder setLastTokenRequestTime(Timestamp.Builder builderForValue)Output only. The timestamp when the token was last requested.
.google.protobuf.Timestamp last_token_request_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
setName(String value)
public User.Builder setName(String value) Identifier. Resource name of the user, in the format
projects/*/locations/*/accountConnectors/*/users/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public User.Builder setNameBytes(ByteString value) Identifier. Resource name of the user, in the format
projects/*/locations/*/accountConnectors/*/users/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public User.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final User.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|