Package com.google.cloud.oslogin.v1
Interface ImportSshPublicKeyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportSshPublicKeyRequest,ImportSshPublicKeyRequest.Builder
@Generated
public interface ImportSshPublicKeyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.The project ID of the Google Cloud Platform project.com.google.protobuf.ByteStringThe project ID of the Google Cloud Platform project.getRegions(int index) Optional.com.google.protobuf.ByteStringgetRegionsBytes(int index) Optional.intOptional.Optional.Optional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The unique ID for the user in format `users/{user}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The unique ID for the user in format `users/{user}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasSshPublicKey
boolean hasSshPublicKey()Optional. The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the sshPublicKey field is set.
-
getSshPublicKey
OsLoginProto.SshPublicKey getSshPublicKey()Optional. The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The sshPublicKey.
-
getSshPublicKeyOrBuilder
OsLoginProto.SshPublicKeyOrBuilder getSshPublicKeyOrBuilder()Optional. The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getProjectId
String getProjectId()The project ID of the Google Cloud Platform project.
string project_id = 3;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()The project ID of the Google Cloud Platform project.
string project_id = 3;- Returns:
- The bytes for projectId.
-
getRegionsList
Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
repeated string regions = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the regions.
-
getRegionsCount
int getRegionsCount()Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
repeated string regions = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of regions.
-
getRegions
Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
repeated string regions = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The regions at the given index.
-
getRegionsBytes
com.google.protobuf.ByteString getRegionsBytes(int index) Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
repeated string regions = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the regions at the given index.
-