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/cloud/dataproc/v1/clusters.proto 18 19 package com.google.cloud.dataproc.v1; 20 21 public interface NodeGroupAffinityOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.NodeGroupAffinity) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The URI of a 31 * sole-tenant [node group 32 * resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) 33 * that the cluster will be created on. 34 * A full URL, partial URI, or node group name are valid. Examples: 35 * * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1` 36 * * `projects/[project_id]/zones/[zone]/nodeGroups/node-group-1` 37 * * `node-group-1` 38 * </pre> 39 * 40 * <code>string node_group_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code> 41 * 42 * @return The nodeGroupUri. 43 */ getNodeGroupUri()44 java.lang.String getNodeGroupUri(); 45 /** 46 * 47 * 48 * <pre> 49 * Required. The URI of a 50 * sole-tenant [node group 51 * resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) 52 * that the cluster will be created on. 53 * A full URL, partial URI, or node group name are valid. Examples: 54 * * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1` 55 * * `projects/[project_id]/zones/[zone]/nodeGroups/node-group-1` 56 * * `node-group-1` 57 * </pre> 58 * 59 * <code>string node_group_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code> 60 * 61 * @return The bytes for nodeGroupUri. 62 */ getNodeGroupUriBytes()63 com.google.protobuf.ByteString getNodeGroupUriBytes(); 64 } 65