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
public interface ResourceAccessSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getOwners(int index)
Optional.com.google.protobuf.ByteString
getOwnersBytes(int index)
Optional.int
getOwnersCount()
Optional.List<String>
getOwnersList()
Optional.String
getReaders(int index)
Optional.com.google.protobuf.ByteString
getReadersBytes(int index)
Optional.int
getReadersCount()
Optional.List<String>
getReadersList()
Optional.String
getWriters(int index)
Optional.com.google.protobuf.ByteString
getWritersBytes(int index)
Optional.int
getWritersCount()
Optional.List<String>
getWritersList()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getReadersList
List<String> 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
String getReaders(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 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
List<String> 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
String getWriters(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 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
List<String> 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
String getOwners(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 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.
-
-