public static final class UserCreds.Builder extends GeneratedMessageV3.Builder<UserCreds.Builder> implements UserCredsOrBuilderA Cloud Firestore User Creds.
Protobuf type google.firestore.admin.v1.UserCreds
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UserCreds.BuilderImplements
UserCredsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserCreds.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
build()
public UserCreds build()| Returns | |
|---|---|
| Type | Description |
UserCreds |
|
buildPartial()
public UserCreds buildPartial()| Returns | |
|---|---|
| Type | Description |
UserCreds |
|
clear()
public UserCreds.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
clearCreateTime()
public UserCreds.Builder clearCreateTime()Output only. The time the user creds were created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public UserCreds.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
clearName()
public UserCreds.Builder clearName() Identifier. The resource name of the UserCreds.
Format:
projects/{project}/databases/{database}/userCreds/{user_creds}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UserCreds.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
clearResourceIdentity()
public UserCreds.Builder clearResourceIdentity()Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
clearSecurePassword()
public UserCreds.Builder clearSecurePassword()Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.
string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
clearState()
public UserCreds.Builder clearState()Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
.google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
clearUpdateTime()
public UserCreds.Builder clearUpdateTime()Output only. The time the user creds were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
clearUserCredsIdentity()
public UserCreds.Builder clearUserCredsIdentity()| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
clone()
public UserCreds.Builder clone()| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The time the user creds were created.
.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. The time the user creds were created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the user creds were created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public UserCreds getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserCreds |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Identifier. The resource name of the UserCreds.
Format:
projects/{project}/databases/{database}/userCreds/{user_creds}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the UserCreds.
Format:
projects/{project}/databases/{database}/userCreds/{user_creds}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getResourceIdentity()
public UserCreds.ResourceIdentity getResourceIdentity()Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Returns | |
|---|---|
| Type | Description |
UserCreds.ResourceIdentity |
The resourceIdentity. |
getResourceIdentityBuilder()
public UserCreds.ResourceIdentity.Builder getResourceIdentityBuilder()Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Returns | |
|---|---|
| Type | Description |
UserCreds.ResourceIdentity.Builder |
|
getResourceIdentityOrBuilder()
public UserCreds.ResourceIdentityOrBuilder getResourceIdentityOrBuilder()Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Returns | |
|---|---|
| Type | Description |
UserCreds.ResourceIdentityOrBuilder |
|
getSecurePassword()
public String getSecurePassword()Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.
string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The securePassword. |
getSecurePasswordBytes()
public ByteString getSecurePasswordBytes()Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.
string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for securePassword. |
getState()
public UserCreds.State getState()Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
.google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserCreds.State |
The state. |
getStateValue()
public int getStateValue()Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
.google.firestore.admin.v1.UserCreds.State state = 4 [(.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. The time the user creds were last updated.
.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. The time the user creds were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time the user creds were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getUserCredsIdentityCase()
public UserCreds.UserCredsIdentityCase getUserCredsIdentityCase()| Returns | |
|---|---|
| Type | Description |
UserCreds.UserCredsIdentityCase |
|
hasCreateTime()
public boolean hasCreateTime()Output only. The time the user creds were created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasResourceIdentity()
public boolean hasResourceIdentity()Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resourceIdentity field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The time the user creds were last updated.
.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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public UserCreds.Builder mergeCreateTime(Timestamp value)Output only. The time the user creds were created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
mergeFrom(UserCreds other)
public UserCreds.Builder mergeFrom(UserCreds other)| Parameter | |
|---|---|
| Name | Description |
other |
UserCreds |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserCreds.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserCreds.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
mergeResourceIdentity(UserCreds.ResourceIdentity value)
public UserCreds.Builder mergeResourceIdentity(UserCreds.ResourceIdentity value)Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
UserCreds.ResourceIdentity |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserCreds.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
mergeUpdateTime(Timestamp value)
public UserCreds.Builder mergeUpdateTime(Timestamp value)Output only. The time the user creds were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setCreateTime(Timestamp value)
public UserCreds.Builder setCreateTime(Timestamp value)Output only. The time the user creds were created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public UserCreds.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time the user creds were created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public UserCreds.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setName(String value)
public UserCreds.Builder setName(String value) Identifier. The resource name of the UserCreds.
Format:
projects/{project}/databases/{database}/userCreds/{user_creds}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UserCreds.Builder setNameBytes(ByteString value) Identifier. The resource name of the UserCreds.
Format:
projects/{project}/databases/{database}/userCreds/{user_creds}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserCreds.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setResourceIdentity(UserCreds.ResourceIdentity value)
public UserCreds.Builder setResourceIdentity(UserCreds.ResourceIdentity value)Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
UserCreds.ResourceIdentity |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setResourceIdentity(UserCreds.ResourceIdentity.Builder builderForValue)
public UserCreds.Builder setResourceIdentity(UserCreds.ResourceIdentity.Builder builderForValue)Resource Identity descriptor.
.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserCreds.ResourceIdentity.Builder |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setSecurePassword(String value)
public UserCreds.Builder setSecurePassword(String value)Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.
string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe securePassword to set. |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
setSecurePasswordBytes(ByteString value)
public UserCreds.Builder setSecurePasswordBytes(ByteString value)Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.
string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for securePassword to set. |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
setState(UserCreds.State value)
public UserCreds.Builder setState(UserCreds.State value)Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
.google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
UserCreds.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
setStateValue(int value)
public UserCreds.Builder setStateValue(int value)Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
.google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UserCreds.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setUpdateTime(Timestamp value)
public UserCreds.Builder setUpdateTime(Timestamp value)Output only. The time the user creds were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public UserCreds.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The time the user creds were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UserCreds.Builder |
|