com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/security.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dataplex.v1;
public interface ResourceAccessSpecOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ResourceAccessSpec)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
* @return A list containing the readers.
*/
java.util.List 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];
*
* @return The count of readers.
*/
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];
*
* @param index The index of the element to return.
* @return The readers at the given index.
*/
java.lang.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];
*
* @param index The index of the value to return.
* @return The bytes of the readers at the given index.
*/
com.google.protobuf.ByteString getReadersBytes(int index);
/**
*
*
*
* Optional. The set of principals to be granted writer role on the resource.
*
*
* repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the writers.
*/
java.util.List getWritersList();
/**
*
*
*
* Optional. The set of principals to be granted writer role on the resource.
*
*
* repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of writers.
*/
int getWritersCount();
/**
*
*
*
* Optional. The set of principals to be granted writer role on the resource.
*
*
* repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The writers at the given index.
*/
java.lang.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];
*
* @param index The index of the value to return.
* @return The bytes of the writers at the given index.
*/
com.google.protobuf.ByteString getWritersBytes(int index);
/**
*
*
*
* Optional. The set of principals to be granted owner role on the resource.
*
*
* repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the owners.
*/
java.util.List getOwnersList();
/**
*
*
*
* Optional. The set of principals to be granted owner role on the resource.
*
*
* repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of owners.
*/
int getOwnersCount();
/**
*
*
*
* Optional. The set of principals to be granted owner role on the resource.
*
*
* repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The owners at the given index.
*/
java.lang.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];
*
* @param index The index of the value to return.
* @return The bytes of the owners at the given index.
*/
com.google.protobuf.ByteString getOwnersBytes(int index);
}