Interface ShareSettingsOrBuilder (1.65.0)

public interface ShareSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsProjectMap(String key)

public abstract boolean containsProjectMap(String key)

A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;

Parameter
Name Description
key String
Returns
Type Description
boolean

getProjectMap() (deprecated)

public abstract Map<String,ShareSettingsProjectConfig> getProjectMap()

Use #getProjectMapMap() instead.

Returns
Type Description
Map<String,ShareSettingsProjectConfig>

getProjectMapCount()

public abstract int getProjectMapCount()

A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;

Returns
Type Description
int

getProjectMapMap()

public abstract Map<String,ShareSettingsProjectConfig> getProjectMapMap()

A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;

Returns
Type Description
Map<String,ShareSettingsProjectConfig>

getProjectMapOrDefault(String key, ShareSettingsProjectConfig defaultValue)

public abstract ShareSettingsProjectConfig getProjectMapOrDefault(String key, ShareSettingsProjectConfig defaultValue)

A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;

Parameters
Name Description
key String
defaultValue ShareSettingsProjectConfig
Returns
Type Description
ShareSettingsProjectConfig

getProjectMapOrThrow(String key)

public abstract ShareSettingsProjectConfig getProjectMapOrThrow(String key)

A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;

Parameter
Name Description
key String
Returns
Type Description
ShareSettingsProjectConfig

getShareType()

public abstract String getShareType()

Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.

optional string share_type = 359533466;

Returns
Type Description
String

The shareType.

getShareTypeBytes()

public abstract ByteString getShareTypeBytes()

Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.

optional string share_type = 359533466;

Returns
Type Description
ByteString

The bytes for shareType.

hasShareType()

public abstract boolean hasShareType()

Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.

optional string share_type = 359533466;

Returns
Type Description
boolean

Whether the shareType field is set.