public final class User extends GeneratedMessage implements UserOrBuilder
Message describing User object
Protobuf type google.cloud.ftp.v1.User
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CUSTOMER_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int CUSTOMER_SERVICE_ACCOUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STORAGE_DIRECTORY_MAPPINGS_FIELD_NUMBER
public static final int STORAGE_DIRECTORY_MAPPINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_CREDENTIALS_FIELD_NUMBER
public static final int USER_CREDENTIALS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static User getDefaultInstance()
| Returns |
| Type |
Description |
User |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static User.Builder newBuilder()
newBuilder(User prototype)
public static User.Builder newBuilder(User prototype)
| Parameter |
| Name |
Description |
prototype |
User
|
public static User parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
User |
|
public static User parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
User |
|
parseFrom(byte[] data)
public static User parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
User |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static User parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
User |
|
parseFrom(ByteString data)
public static User parseFrom(ByteString data)
| Returns |
| Type |
Description |
User |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static User parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
User |
|
public static User parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
User |
|
public static User parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
User |
|
public static User parseFrom(InputStream input)
| Returns |
| Type |
Description |
User |
|
public static User parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
User |
|
parseFrom(ByteBuffer data)
public static User parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
User |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static User parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
User |
|
parser()
public static Parser<User> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCustomerServiceAccount()
public String getCustomerServiceAccount()
Required. Service account in customer project attached to this SFTP User.
string customer_service_account = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The customerServiceAccount.
|
getCustomerServiceAccountBytes()
public ByteString getCustomerServiceAccountBytes()
Required. Service account in customer project attached to this SFTP User.
string customer_service_account = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for customerServiceAccount.
|
getDefaultInstanceForType()
public User getDefaultInstanceForType()
| Returns |
| Type |
Description |
User |
|
getLabels() (deprecated)
public Map<String,String> getLabels()
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];
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];
| 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 |
|
getName()
Identifier. User-friendly name via which User will be identified.
projects/{project}/locations/{location}/servers/{server}/users/{user}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. User-friendly name via which User will be identified.
projects/{project}/locations/{location}/servers/{server}/users/{user}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<User> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getState()
public User.State getState()
Output only. Tracks user creation.
.google.cloud.ftp.v1.User.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. Tracks user creation.
.google.cloud.ftp.v1.User.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
getStorageDirectoryMappings(int index)
public StorageDirectoryMapping getStorageDirectoryMappings(int index)
Required. Mapping of Cloud Storage buckets to directories where the user
will land in the SFTP server.
repeated .google.cloud.ftp.v1.StorageDirectoryMapping storage_directory_mappings = 10 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getStorageDirectoryMappingsCount()
public int getStorageDirectoryMappingsCount()
Required. Mapping of Cloud Storage buckets to directories where the user
will land in the SFTP server.
repeated .google.cloud.ftp.v1.StorageDirectoryMapping storage_directory_mappings = 10 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
getStorageDirectoryMappingsList()
public List<StorageDirectoryMapping> getStorageDirectoryMappingsList()
Required. Mapping of Cloud Storage buckets to directories where the user
will land in the SFTP server.
repeated .google.cloud.ftp.v1.StorageDirectoryMapping storage_directory_mappings = 10 [(.google.api.field_behavior) = REQUIRED];
getStorageDirectoryMappingsOrBuilder(int index)
public StorageDirectoryMappingOrBuilder getStorageDirectoryMappingsOrBuilder(int index)
Required. Mapping of Cloud Storage buckets to directories where the user
will land in the SFTP server.
repeated .google.cloud.ftp.v1.StorageDirectoryMapping storage_directory_mappings = 10 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getStorageDirectoryMappingsOrBuilderList()
public List<? extends StorageDirectoryMappingOrBuilder> getStorageDirectoryMappingsOrBuilderList()
Required. Mapping of Cloud Storage buckets to directories where the user
will land in the SFTP server.
repeated .google.cloud.ftp.v1.StorageDirectoryMapping storage_directory_mappings = 10 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ftp.v1.StorageDirectoryMappingOrBuilder> |
|
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.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUserCredentials(int index)
public UserCredential getUserCredentials(int index)
Required. User credential for the user.
The maximum number of user credentials is 10.
repeated .google.cloud.ftp.v1.UserCredential user_credentials = 9 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getUserCredentialsCount()
public int getUserCredentialsCount()
Required. User credential for the user.
The maximum number of user credentials is 10.
repeated .google.cloud.ftp.v1.UserCredential user_credentials = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
getUserCredentialsList()
public List<UserCredential> getUserCredentialsList()
Required. User credential for the user.
The maximum number of user credentials is 10.
repeated .google.cloud.ftp.v1.UserCredential user_credentials = 9 [(.google.api.field_behavior) = REQUIRED];
getUserCredentialsOrBuilder(int index)
public UserCredentialOrBuilder getUserCredentialsOrBuilder(int index)
Required. User credential for the user.
The maximum number of user credentials is 10.
repeated .google.cloud.ftp.v1.UserCredential user_credentials = 9 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getUserCredentialsOrBuilderList()
public List<? extends UserCredentialOrBuilder> getUserCredentialsOrBuilderList()
Required. User credential for the user.
The maximum number of user credentials is 10.
repeated .google.cloud.ftp.v1.UserCredential user_credentials = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ftp.v1.UserCredentialOrBuilder> |
|
getUsername()
public String getUsername()
Output only. [Output only] The username of the user.
string username = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The username.
|
getUsernameBytes()
public ByteString getUsernameBytes()
Output only. [Output only] The username of the user.
string username = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for username.
|
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.
|
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public User.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected User.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public User.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides