Interface ShareSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ShareSettings, ShareSettings.Builder

@Generated public interface ShareSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getProjectMapCount

      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;
    • containsProjectMap

      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;
    • getProjectMap

      Deprecated.
      Use getProjectMapMap() instead.
    • 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;
    • getProjectMapOrDefault

      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;
    • getProjectMapOrThrow

      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;
    • hasShareType

      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:
      Whether the shareType field is set.
    • getShareType

      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:
      The shareType.
    • getShareTypeBytes

      com.google.protobuf.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:
      The bytes for shareType.