Package com.google.cloud.dataplex.v1
Interface ResourceAccessSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceAccessSpec,ResourceAccessSpec.Builder
@Generated
public interface ResourceAccessSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetOwners(int index) Optional.com.google.protobuf.ByteStringgetOwnersBytes(int index) Optional.intOptional.Optional.getReaders(int index) Optional.com.google.protobuf.ByteStringgetReadersBytes(int index) Optional.intOptional.Optional.getWriters(int index) Optional.com.google.protobuf.ByteStringgetWritersBytes(int index) Optional.intOptional.Optional.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
-
getReadersList
Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the readers.
-
getReadersCount
int getReadersCount()Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of readers.
-
getReaders
Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The readers at the given index.
-
getReadersBytes
com.google.protobuf.ByteString getReadersBytes(int index) Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the readers at the given index.
-
getWritersList
Optional. The set of principals to be granted writer role on the resource.
repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the writers.
-
getWritersCount
int getWritersCount()Optional. The set of principals to be granted writer role on the resource.
repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of writers.
-
getWriters
Optional. The set of principals to be granted writer role on the resource.
repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The writers at the given index.
-
getWritersBytes
com.google.protobuf.ByteString getWritersBytes(int index) Optional. The set of principals to be granted writer role on the resource.
repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the writers at the given index.
-
getOwnersList
Optional. The set of principals to be granted owner role on the resource.
repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the owners.
-
getOwnersCount
int getOwnersCount()Optional. The set of principals to be granted owner role on the resource.
repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of owners.
-
getOwners
Optional. The set of principals to be granted owner role on the resource.
repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The owners at the given index.
-
getOwnersBytes
com.google.protobuf.ByteString getOwnersBytes(int index) Optional. The set of principals to be granted owner role on the resource.
repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the owners at the given index.
-