Interface ServerOrBuilder (0.4.0)

public interface ServerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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

getAccessConfigCase()

public abstract Server.AccessConfigCase getAccessConfigCase()
Returns
Type Description
Server.AccessConfigCase

getAccessType()

public abstract Server.AccessType getAccessType()

Required. The access type of the Server.

.google.cloud.ftp.v1.Server.AccessType access_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Server.AccessType

The accessType.

getAccessTypeValue()

public abstract int getAccessTypeValue()

Required. The access type of the Server.

.google.cloud.ftp.v1.Server.AccessType access_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for accessType.

getCreateTime()

public abstract 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 abstract 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

getDisplayName()

public abstract String getDisplayName()

Optional. Display name of the Server

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Optional. Display name of the Server

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getExternalConfig()

public abstract ExternalServerConfig getExternalConfig()

Configuration for external access.

.google.cloud.ftp.v1.ExternalServerConfig external_config = 7;

Returns
Type Description
ExternalServerConfig

The externalConfig.

getExternalConfigOrBuilder()

public abstract ExternalServerConfigOrBuilder getExternalConfigOrBuilder()

Configuration for external access.

.google.cloud.ftp.v1.ExternalServerConfig external_config = 7;

Returns
Type Description
ExternalServerConfigOrBuilder

getGoogleManagedServerCredential()

public abstract ServerCredential getGoogleManagedServerCredential()

Output only. Credentials of the FTP Server.

.google.cloud.ftp.v1.ServerCredential google_managed_server_credential = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ServerCredential

The googleManagedServerCredential.

getGoogleManagedServerCredentialOrBuilder()

public abstract ServerCredentialOrBuilder getGoogleManagedServerCredentialOrBuilder()

Output only. Credentials of the FTP Server.

.google.cloud.ftp.v1.ServerCredential google_managed_server_credential = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ServerCredentialOrBuilder

getInternalConfig()

public abstract InternalServerConfig getInternalConfig()

Configuration for internal access.

.google.cloud.ftp.v1.InternalServerConfig internal_config = 8;

Returns
Type Description
InternalServerConfig

The internalConfig.

getInternalConfigOrBuilder()

public abstract InternalServerConfigOrBuilder getInternalConfigOrBuilder()

Configuration for internal access.

.google.cloud.ftp.v1.InternalServerConfig internal_config = 8;

Returns
Type Description
InternalServerConfigOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract 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 abstract 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 abstract 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()

public abstract String getName()

Identifier. name of resource

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. name of resource

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getServiceAgent()

public abstract String getServiceAgent()

Output only. Service agent used to access the customer bucket.

string service_agent = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceAgent.

getServiceAgentBytes()

public abstract ByteString getServiceAgentBytes()

Output only. Service agent used to access the customer bucket.

string service_agent = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAgent.

getState()

public abstract Server.State getState()

Output only. The state of the server.

.google.cloud.ftp.v1.Server.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Server.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of the server.

.google.cloud.ftp.v1.Server.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract 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 abstract 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 abstract 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.

hasExternalConfig()

public abstract boolean hasExternalConfig()

Configuration for external access.

.google.cloud.ftp.v1.ExternalServerConfig external_config = 7;

Returns
Type Description
boolean

Whether the externalConfig field is set.

hasGoogleManagedServerCredential()

public abstract boolean hasGoogleManagedServerCredential()

Output only. Credentials of the FTP Server.

.google.cloud.ftp.v1.ServerCredential google_managed_server_credential = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the googleManagedServerCredential field is set.

hasInternalConfig()

public abstract boolean hasInternalConfig()

Configuration for internal access.

.google.cloud.ftp.v1.InternalServerConfig internal_config = 8;

Returns
Type Description
boolean

Whether the internalConfig field is set.

hasUpdateTime()

public abstract 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.