Class ManagementServer.Builder (0.2.0)

public static final class ManagementServer.Builder extends GeneratedMessageV3.Builder<ManagementServer.Builder> implements ManagementServerOrBuilder

ManagementServer describes a single BackupDR ManagementServer instance.

Protobuf type google.cloud.backupdr.v1.ManagementServer

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBaProxyUri(Iterable<String> values)

public ManagementServer.Builder addAllBaProxyUri(Iterable<String> values)

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The baProxyUri to add.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

addAllNetworks(Iterable<? extends NetworkConfig> values)

public ManagementServer.Builder addAllNetworks(Iterable<? extends NetworkConfig> values)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.NetworkConfig>
Returns
Type Description
ManagementServer.Builder

addBaProxyUri(String value)

public ManagementServer.Builder addBaProxyUri(String value)

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The baProxyUri to add.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

addBaProxyUriBytes(ByteString value)

public ManagementServer.Builder addBaProxyUriBytes(ByteString value)

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the baProxyUri to add.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

addNetworks(NetworkConfig value)

public ManagementServer.Builder addNetworks(NetworkConfig value)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NetworkConfig
Returns
Type Description
ManagementServer.Builder

addNetworks(NetworkConfig.Builder builderForValue)

public ManagementServer.Builder addNetworks(NetworkConfig.Builder builderForValue)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NetworkConfig.Builder
Returns
Type Description
ManagementServer.Builder

addNetworks(int index, NetworkConfig value)

public ManagementServer.Builder addNetworks(int index, NetworkConfig value)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value NetworkConfig
Returns
Type Description
ManagementServer.Builder

addNetworks(int index, NetworkConfig.Builder builderForValue)

public ManagementServer.Builder addNetworks(int index, NetworkConfig.Builder builderForValue)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue NetworkConfig.Builder
Returns
Type Description
ManagementServer.Builder

addNetworksBuilder()

public NetworkConfig.Builder addNetworksBuilder()

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkConfig.Builder

addNetworksBuilder(int index)

public NetworkConfig.Builder addNetworksBuilder(int index)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NetworkConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagementServer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagementServer.Builder
Overrides

build()

public ManagementServer build()
Returns
Type Description
ManagementServer

buildPartial()

public ManagementServer buildPartial()
Returns
Type Description
ManagementServer

clear()

public ManagementServer.Builder clear()
Returns
Type Description
ManagementServer.Builder
Overrides

clearBaProxyUri()

public ManagementServer.Builder clearBaProxyUri()

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

clearCreateTime()

public ManagementServer.Builder clearCreateTime()

Output only. The time when the instance was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

clearDescription()

public ManagementServer.Builder clearDescription()

Optional. The description of the ManagementServer instance (2048 characters or less).

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

clearEtag()

public ManagementServer.Builder clearEtag()

Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

string etag = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ManagementServer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ManagementServer.Builder
Overrides

clearLabels()

public ManagementServer.Builder clearLabels()
Returns
Type Description
ManagementServer.Builder

clearManagementUri()

public ManagementServer.Builder clearManagementUri()

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

clearName()

public ManagementServer.Builder clearName()

Output only. Identifier. The resource name.

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

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

clearNetworks()

public ManagementServer.Builder clearNetworks()

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagementServer.Builder

clearOauth2ClientId()

public ManagementServer.Builder clearOauth2ClientId()

Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

string oauth2_client_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagementServer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ManagementServer.Builder
Overrides

clearState()

public ManagementServer.Builder clearState()

Output only. The ManagementServer state.

.google.cloud.backupdr.v1.ManagementServer.InstanceState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

clearType()

public ManagementServer.Builder clearType()

Optional. The type of the ManagementServer resource.

.google.cloud.backupdr.v1.ManagementServer.InstanceType type = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

clearUpdateTime()

public ManagementServer.Builder clearUpdateTime()

Output only. The time when the instance was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

clearWorkforceIdentityBasedManagementUri()

public ManagementServer.Builder clearWorkforceIdentityBasedManagementUri()

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

clearWorkforceIdentityBasedOauth2ClientId()

public ManagementServer.Builder clearWorkforceIdentityBasedOauth2ClientId()

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.Builder

clone()

public ManagementServer.Builder clone()
Returns
Type Description
ManagementServer.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getBaProxyUri(int index)

public String getBaProxyUri(int index)

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The baProxyUri at the given index.

getBaProxyUriBytes(int index)

public ByteString getBaProxyUriBytes(int index)

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the baProxyUri at the given index.

getBaProxyUriCount()

public int getBaProxyUriCount()

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of baProxyUri.

getBaProxyUriList()

public ProtocolStringList getBaProxyUriList()

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the baProxyUri.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the instance was 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 when the instance was 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 when the instance was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ManagementServer getDefaultInstanceForType()
Returns
Type Description
ManagementServer

getDescription()

public String getDescription()

Optional. The description of the ManagementServer instance (2048 characters or less).

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the ManagementServer instance (2048 characters or less).

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

string etag = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

string etag = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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 String getLabelsOrThrow(String key)

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

Parameter
Name Description
key String
Returns
Type Description
String

getManagementUri()

public ManagementURI getManagementUri()

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementURI

The managementUri.

getManagementUriBuilder()

public ManagementURI.Builder getManagementUriBuilder()

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementURI.Builder

getManagementUriOrBuilder()

public ManagementURIOrBuilder getManagementUriOrBuilder()

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementURIOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Output only. Identifier. The resource name.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. The resource name.

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

Returns
Type Description
ByteString

The bytes for name.

getNetworks(int index)

public NetworkConfig getNetworks(int index)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NetworkConfig

getNetworksBuilder(int index)

public NetworkConfig.Builder getNetworksBuilder(int index)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NetworkConfig.Builder

getNetworksBuilderList()

public List<NetworkConfig.Builder> getNetworksBuilderList()

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getNetworksCount()

public int getNetworksCount()

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getNetworksList()

public List<NetworkConfig> getNetworksList()

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<NetworkConfig>

getNetworksOrBuilder(int index)

public NetworkConfigOrBuilder getNetworksOrBuilder(int index)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NetworkConfigOrBuilder

getNetworksOrBuilderList()

public List<? extends NetworkConfigOrBuilder> getNetworksOrBuilderList()

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.NetworkConfigOrBuilder>

getOauth2ClientId()

public String getOauth2ClientId()

Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

string oauth2_client_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The oauth2ClientId.

getOauth2ClientIdBytes()

public ByteString getOauth2ClientIdBytes()

Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

string oauth2_client_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for oauth2ClientId.

getState()

public ManagementServer.InstanceState getState()

Output only. The ManagementServer state.

.google.cloud.backupdr.v1.ManagementServer.InstanceState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementServer.InstanceState

The state.

getStateValue()

public int getStateValue()

Output only. The ManagementServer state.

.google.cloud.backupdr.v1.ManagementServer.InstanceState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public ManagementServer.InstanceType getType()

Optional. The type of the ManagementServer resource.

.google.cloud.backupdr.v1.ManagementServer.InstanceType type = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ManagementServer.InstanceType

The type.

getTypeValue()

public int getTypeValue()

Optional. The type of the ManagementServer resource.

.google.cloud.backupdr.v1.ManagementServer.InstanceType type = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the instance was 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 when the instance was 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 when the instance was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getWorkforceIdentityBasedManagementUri()

public WorkforceIdentityBasedManagementURI getWorkforceIdentityBasedManagementUri()

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkforceIdentityBasedManagementURI

The workforceIdentityBasedManagementUri.

getWorkforceIdentityBasedManagementUriBuilder()

public WorkforceIdentityBasedManagementURI.Builder getWorkforceIdentityBasedManagementUriBuilder()

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkforceIdentityBasedManagementURI.Builder

getWorkforceIdentityBasedManagementUriOrBuilder()

public WorkforceIdentityBasedManagementURIOrBuilder getWorkforceIdentityBasedManagementUriOrBuilder()

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkforceIdentityBasedManagementURIOrBuilder

getWorkforceIdentityBasedOauth2ClientId()

public WorkforceIdentityBasedOAuth2ClientID getWorkforceIdentityBasedOauth2ClientId()

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID

The workforceIdentityBasedOauth2ClientId.

getWorkforceIdentityBasedOauth2ClientIdBuilder()

public WorkforceIdentityBasedOAuth2ClientID.Builder getWorkforceIdentityBasedOauth2ClientIdBuilder()

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder

getWorkforceIdentityBasedOauth2ClientIdOrBuilder()

public WorkforceIdentityBasedOAuth2ClientIDOrBuilder getWorkforceIdentityBasedOauth2ClientIdOrBuilder()

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkforceIdentityBasedOAuth2ClientIDOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the instance was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasManagementUri()

public boolean hasManagementUri()

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the managementUri field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when the instance was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasWorkforceIdentityBasedManagementUri()

public boolean hasWorkforceIdentityBasedManagementUri()

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the workforceIdentityBasedManagementUri field is set.

hasWorkforceIdentityBasedOauth2ClientId()

public boolean hasWorkforceIdentityBasedOauth2ClientId()

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the workforceIdentityBasedOauth2ClientId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ManagementServer.Builder mergeCreateTime(Timestamp value)

Output only. The time when the instance was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementServer.Builder

mergeFrom(ManagementServer other)

public ManagementServer.Builder mergeFrom(ManagementServer other)
Parameter
Name Description
other ManagementServer
Returns
Type Description
ManagementServer.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagementServer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagementServer.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ManagementServer.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ManagementServer.Builder
Overrides

mergeManagementUri(ManagementURI value)

public ManagementServer.Builder mergeManagementUri(ManagementURI value)

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ManagementURI
Returns
Type Description
ManagementServer.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagementServer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagementServer.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ManagementServer.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the instance was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementServer.Builder

mergeWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI value)

public ManagementServer.Builder mergeWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI value)

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkforceIdentityBasedManagementURI
Returns
Type Description
ManagementServer.Builder

mergeWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID value)

public ManagementServer.Builder mergeWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID value)

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkforceIdentityBasedOAuth2ClientID
Returns
Type Description
ManagementServer.Builder

putAllLabels(Map<String,String> values)

public ManagementServer.Builder putAllLabels(Map<String,String> values)

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ManagementServer.Builder

putLabels(String key, String value)

public ManagementServer.Builder putLabels(String key, String value)

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

Parameters
Name Description
key String
value String
Returns
Type Description
ManagementServer.Builder

removeLabels(String key)

public ManagementServer.Builder removeLabels(String key)

Optional. Resource labels to represent user provided metadata. Labels currently defined:

  1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

Parameter
Name Description
key String
Returns
Type Description
ManagementServer.Builder

removeNetworks(int index)

public ManagementServer.Builder removeNetworks(int index)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ManagementServer.Builder

setBaProxyUri(int index, String value)

public ManagementServer.Builder setBaProxyUri(int index, String value)

Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

repeated string ba_proxy_uri = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The baProxyUri to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public ManagementServer.Builder setCreateTime(Timestamp value)

Output only. The time when the instance was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementServer.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ManagementServer.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the instance was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ManagementServer.Builder

setDescription(String value)

public ManagementServer.Builder setDescription(String value)

Optional. The description of the ManagementServer instance (2048 characters or less).

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ManagementServer.Builder setDescriptionBytes(ByteString value)

Optional. The description of the ManagementServer instance (2048 characters or less).

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setEtag(String value)

public ManagementServer.Builder setEtag(String value)

Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

string etag = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public ManagementServer.Builder setEtagBytes(ByteString value)

Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

string etag = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ManagementServer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagementServer.Builder
Overrides

setManagementUri(ManagementURI value)

public ManagementServer.Builder setManagementUri(ManagementURI value)

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ManagementURI
Returns
Type Description
ManagementServer.Builder

setManagementUri(ManagementURI.Builder builderForValue)

public ManagementServer.Builder setManagementUri(ManagementURI.Builder builderForValue)

Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

.google.cloud.backupdr.v1.ManagementURI management_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ManagementURI.Builder
Returns
Type Description
ManagementServer.Builder

setName(String value)

public ManagementServer.Builder setName(String value)

Output only. Identifier. The resource name.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ManagementServer.Builder setNameBytes(ByteString value)

Output only. Identifier. The resource name.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setNetworks(int index, NetworkConfig value)

public ManagementServer.Builder setNetworks(int index, NetworkConfig value)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value NetworkConfig
Returns
Type Description
ManagementServer.Builder

setNetworks(int index, NetworkConfig.Builder builderForValue)

public ManagementServer.Builder setNetworks(int index, NetworkConfig.Builder builderForValue)

Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported.

repeated .google.cloud.backupdr.v1.NetworkConfig networks = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue NetworkConfig.Builder
Returns
Type Description
ManagementServer.Builder

setOauth2ClientId(String value)

public ManagementServer.Builder setOauth2ClientId(String value)

Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

string oauth2_client_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The oauth2ClientId to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setOauth2ClientIdBytes(ByteString value)

public ManagementServer.Builder setOauth2ClientIdBytes(ByteString value)

Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

string oauth2_client_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for oauth2ClientId to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ManagementServer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ManagementServer.Builder
Overrides

setState(ManagementServer.InstanceState value)

public ManagementServer.Builder setState(ManagementServer.InstanceState value)

Output only. The ManagementServer state.

.google.cloud.backupdr.v1.ManagementServer.InstanceState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ManagementServer.InstanceState

The state to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setStateValue(int value)

public ManagementServer.Builder setStateValue(int value)

Output only. The ManagementServer state.

.google.cloud.backupdr.v1.ManagementServer.InstanceState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setType(ManagementServer.InstanceType value)

public ManagementServer.Builder setType(ManagementServer.InstanceType value)

Optional. The type of the ManagementServer resource.

.google.cloud.backupdr.v1.ManagementServer.InstanceType type = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ManagementServer.InstanceType

The type to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setTypeValue(int value)

public ManagementServer.Builder setTypeValue(int value)

Optional. The type of the ManagementServer resource.

.google.cloud.backupdr.v1.ManagementServer.InstanceType type = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
ManagementServer.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagementServer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagementServer.Builder
Overrides

setUpdateTime(Timestamp value)

public ManagementServer.Builder setUpdateTime(Timestamp value)

Output only. The time when the instance was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementServer.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ManagementServer.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time when the instance was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ManagementServer.Builder

setWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI value)

public ManagementServer.Builder setWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI value)

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkforceIdentityBasedManagementURI
Returns
Type Description
ManagementServer.Builder

setWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI.Builder builderForValue)

public ManagementServer.Builder setWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI.Builder builderForValue)

Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI workforce_identity_based_management_uri = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WorkforceIdentityBasedManagementURI.Builder
Returns
Type Description
ManagementServer.Builder

setWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID value)

public ManagementServer.Builder setWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID value)

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkforceIdentityBasedOAuth2ClientID
Returns
Type Description
ManagementServer.Builder

setWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID.Builder builderForValue)

public ManagementServer.Builder setWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID.Builder builderForValue)

Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID workforce_identity_based_oauth2_client_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WorkforceIdentityBasedOAuth2ClientID.Builder
Returns
Type Description
ManagementServer.Builder