1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/analytics/admin/v1alpha/analytics_admin.proto 18 19 package com.google.analytics.admin.v1alpha; 20 21 public interface BatchCreateUserLinksRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The account or property that all user links in the request are 31 * for. This field is required. The parent field in the CreateUserLinkRequest 32 * messages must either be empty or match this field. 33 * Example format: accounts/1234 34 * </pre> 35 * 36 * <code> 37 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 38 * </code> 39 * 40 * @return The parent. 41 */ getParent()42 java.lang.String getParent(); 43 /** 44 * 45 * 46 * <pre> 47 * Required. The account or property that all user links in the request are 48 * for. This field is required. The parent field in the CreateUserLinkRequest 49 * messages must either be empty or match this field. 50 * Example format: accounts/1234 51 * </pre> 52 * 53 * <code> 54 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 55 * </code> 56 * 57 * @return The bytes for parent. 58 */ getParentBytes()59 com.google.protobuf.ByteString getParentBytes(); 60 61 /** 62 * 63 * 64 * <pre> 65 * Optional. If set, then email the new users notifying them that they've been 66 * granted permissions to the resource. Regardless of whether this is set or 67 * not, notify_new_user field inside each individual request is ignored. 68 * </pre> 69 * 70 * <code>bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL];</code> 71 * 72 * @return The notifyNewUsers. 73 */ getNotifyNewUsers()74 boolean getNotifyNewUsers(); 75 76 /** 77 * 78 * 79 * <pre> 80 * Required. The requests specifying the user links to create. 81 * A maximum of 1000 user links can be created in a batch. 82 * </pre> 83 * 84 * <code> 85 * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; 86 * </code> 87 */ getRequestsList()88 java.util.List<com.google.analytics.admin.v1alpha.CreateUserLinkRequest> getRequestsList(); 89 /** 90 * 91 * 92 * <pre> 93 * Required. The requests specifying the user links to create. 94 * A maximum of 1000 user links can be created in a batch. 95 * </pre> 96 * 97 * <code> 98 * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; 99 * </code> 100 */ getRequests(int index)101 com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index); 102 /** 103 * 104 * 105 * <pre> 106 * Required. The requests specifying the user links to create. 107 * A maximum of 1000 user links can be created in a batch. 108 * </pre> 109 * 110 * <code> 111 * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; 112 * </code> 113 */ getRequestsCount()114 int getRequestsCount(); 115 /** 116 * 117 * 118 * <pre> 119 * Required. The requests specifying the user links to create. 120 * A maximum of 1000 user links can be created in a batch. 121 * </pre> 122 * 123 * <code> 124 * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; 125 * </code> 126 */ 127 java.util.List<? extends com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> getRequestsOrBuilderList()128 getRequestsOrBuilderList(); 129 /** 130 * 131 * 132 * <pre> 133 * Required. The requests specifying the user links to create. 134 * A maximum of 1000 user links can be created in a batch. 135 * </pre> 136 * 137 * <code> 138 * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; 139 * </code> 140 */ getRequestsOrBuilder(int index)141 com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); 142 } 143