Package com.google.cloud.vmwareengine.v1
Interface PrincipalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Principal,Principal.Builder
@Generated
public interface PrincipalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe service account which needs to be granted the permission.com.google.protobuf.ByteStringThe service account which needs to be granted the permission.getUser()The user who needs to be granted permission.com.google.protobuf.ByteStringThe user who needs to be granted permission.booleanThe service account which needs to be granted the permission.booleanhasUser()The user who needs to be granted permission.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
-
hasUser
boolean hasUser()The user who needs to be granted permission.
string user = 1;- Returns:
- Whether the user field is set.
-
getUser
String getUser()The user who needs to be granted permission.
string user = 1;- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()The user who needs to be granted permission.
string user = 1;- Returns:
- The bytes for user.
-
hasServiceAccount
boolean hasServiceAccount()The service account which needs to be granted the permission.
string service_account = 2;- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
String getServiceAccount()The service account which needs to be granted the permission.
string service_account = 2;- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()The service account which needs to be granted the permission.
string service_account = 2;- Returns:
- The bytes for serviceAccount.
-
getPrincipalCase
Principal.PrincipalCase getPrincipalCase()
-