|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.dataplex.v1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * EntryLink represents a link between two entries. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the Cloud Dataplex API. For a detailed explanation see: |
| 24 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 25 | + * </p> |
| 26 | + * |
| 27 | + * @author Google, Inc. |
| 28 | + */ |
| 29 | +@SuppressWarnings("javadoc") |
| 30 | +public final class GoogleCloudDataplexV1EntryLink extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Output only. The time when the Entry Link was created. |
| 34 | + * The value may be {@code null}. |
| 35 | + */ |
| 36 | + @com.google.api.client.util.Key |
| 37 | + private String createTime; |
| 38 | + |
| 39 | + /** |
| 40 | + * Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry |
| 41 | + * Link, of the form: projects/{project}/locations/{location}/entryLinkTypes/{entry_link_type}. |
| 42 | + * The value may be {@code null}. |
| 43 | + */ |
| 44 | + @com.google.api.client.util.Key |
| 45 | + private java.lang.String entryLinkType; |
| 46 | + |
| 47 | + /** |
| 48 | + * Required. Specifies the entries referenced in the entry link. There should be exactly two entry |
| 49 | + * references. |
| 50 | + * The value may be {@code null}. |
| 51 | + */ |
| 52 | + @com.google.api.client.util.Key |
| 53 | + private java.util.List<GoogleCloudDataplexV1EntryLinkEntryReference> entryReferences; |
| 54 | + |
| 55 | + /** |
| 56 | + * Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: |
| 57 | + * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. |
| 58 | + * The value may be {@code null}. |
| 59 | + */ |
| 60 | + @com.google.api.client.util.Key |
| 61 | + private java.lang.String name; |
| 62 | + |
| 63 | + /** |
| 64 | + * Output only. The time when the Entry Link was last updated. |
| 65 | + * The value may be {@code null}. |
| 66 | + */ |
| 67 | + @com.google.api.client.util.Key |
| 68 | + private String updateTime; |
| 69 | + |
| 70 | + /** |
| 71 | + * Output only. The time when the Entry Link was created. |
| 72 | + * @return value or {@code null} for none |
| 73 | + */ |
| 74 | + public String getCreateTime() { |
| 75 | + return createTime; |
| 76 | + } |
| 77 | + |
| 78 | + /** |
| 79 | + * Output only. The time when the Entry Link was created. |
| 80 | + * @param createTime createTime or {@code null} for none |
| 81 | + */ |
| 82 | + public GoogleCloudDataplexV1EntryLink setCreateTime(String createTime) { |
| 83 | + this.createTime = createTime; |
| 84 | + return this; |
| 85 | + } |
| 86 | + |
| 87 | + /** |
| 88 | + * Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry |
| 89 | + * Link, of the form: projects/{project}/locations/{location}/entryLinkTypes/{entry_link_type}. |
| 90 | + * @return value or {@code null} for none |
| 91 | + */ |
| 92 | + public java.lang.String getEntryLinkType() { |
| 93 | + return entryLinkType; |
| 94 | + } |
| 95 | + |
| 96 | + /** |
| 97 | + * Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry |
| 98 | + * Link, of the form: projects/{project}/locations/{location}/entryLinkTypes/{entry_link_type}. |
| 99 | + * @param entryLinkType entryLinkType or {@code null} for none |
| 100 | + */ |
| 101 | + public GoogleCloudDataplexV1EntryLink setEntryLinkType(java.lang.String entryLinkType) { |
| 102 | + this.entryLinkType = entryLinkType; |
| 103 | + return this; |
| 104 | + } |
| 105 | + |
| 106 | + /** |
| 107 | + * Required. Specifies the entries referenced in the entry link. There should be exactly two entry |
| 108 | + * references. |
| 109 | + * @return value or {@code null} for none |
| 110 | + */ |
| 111 | + public java.util.List<GoogleCloudDataplexV1EntryLinkEntryReference> getEntryReferences() { |
| 112 | + return entryReferences; |
| 113 | + } |
| 114 | + |
| 115 | + /** |
| 116 | + * Required. Specifies the entries referenced in the entry link. There should be exactly two entry |
| 117 | + * references. |
| 118 | + * @param entryReferences entryReferences or {@code null} for none |
| 119 | + */ |
| 120 | + public GoogleCloudDataplexV1EntryLink setEntryReferences(java.util.List<GoogleCloudDataplexV1EntryLinkEntryReference> entryReferences) { |
| 121 | + this.entryReferences = entryReferences; |
| 122 | + return this; |
| 123 | + } |
| 124 | + |
| 125 | + /** |
| 126 | + * Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: |
| 127 | + * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. |
| 128 | + * @return value or {@code null} for none |
| 129 | + */ |
| 130 | + public java.lang.String getName() { |
| 131 | + return name; |
| 132 | + } |
| 133 | + |
| 134 | + /** |
| 135 | + * Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: |
| 136 | + * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. |
| 137 | + * @param name name or {@code null} for none |
| 138 | + */ |
| 139 | + public GoogleCloudDataplexV1EntryLink setName(java.lang.String name) { |
| 140 | + this.name = name; |
| 141 | + return this; |
| 142 | + } |
| 143 | + |
| 144 | + /** |
| 145 | + * Output only. The time when the Entry Link was last updated. |
| 146 | + * @return value or {@code null} for none |
| 147 | + */ |
| 148 | + public String getUpdateTime() { |
| 149 | + return updateTime; |
| 150 | + } |
| 151 | + |
| 152 | + /** |
| 153 | + * Output only. The time when the Entry Link was last updated. |
| 154 | + * @param updateTime updateTime or {@code null} for none |
| 155 | + */ |
| 156 | + public GoogleCloudDataplexV1EntryLink setUpdateTime(String updateTime) { |
| 157 | + this.updateTime = updateTime; |
| 158 | + return this; |
| 159 | + } |
| 160 | + |
| 161 | + @Override |
| 162 | + public GoogleCloudDataplexV1EntryLink set(String fieldName, Object value) { |
| 163 | + return (GoogleCloudDataplexV1EntryLink) super.set(fieldName, value); |
| 164 | + } |
| 165 | + |
| 166 | + @Override |
| 167 | + public GoogleCloudDataplexV1EntryLink clone() { |
| 168 | + return (GoogleCloudDataplexV1EntryLink) super.clone(); |
| 169 | + } |
| 170 | + |
| 171 | +} |
0 commit comments