Interface ShareSettingsOrBuilder (1.39.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
NameDescription
keyString
Returns
TypeDescription
boolean

getProjectMap()

public abstract Map<String,ShareSettingsProjectConfig> getProjectMap()

Use #getProjectMapMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueShareSettingsProjectConfig
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the shareType field is set.