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/redis/v1/cloud_redis.proto 18 19 package com.google.cloud.redis.v1; 20 21 public interface OperationMetadataOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.redis.v1.OperationMetadata) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Creation timestamp. 31 * </pre> 32 * 33 * <code>.google.protobuf.Timestamp create_time = 1;</code> 34 * 35 * @return Whether the createTime field is set. 36 */ hasCreateTime()37 boolean hasCreateTime(); 38 /** 39 * 40 * 41 * <pre> 42 * Creation timestamp. 43 * </pre> 44 * 45 * <code>.google.protobuf.Timestamp create_time = 1;</code> 46 * 47 * @return The createTime. 48 */ getCreateTime()49 com.google.protobuf.Timestamp getCreateTime(); 50 /** 51 * 52 * 53 * <pre> 54 * Creation timestamp. 55 * </pre> 56 * 57 * <code>.google.protobuf.Timestamp create_time = 1;</code> 58 */ getCreateTimeOrBuilder()59 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * End timestamp. 66 * </pre> 67 * 68 * <code>.google.protobuf.Timestamp end_time = 2;</code> 69 * 70 * @return Whether the endTime field is set. 71 */ hasEndTime()72 boolean hasEndTime(); 73 /** 74 * 75 * 76 * <pre> 77 * End timestamp. 78 * </pre> 79 * 80 * <code>.google.protobuf.Timestamp end_time = 2;</code> 81 * 82 * @return The endTime. 83 */ getEndTime()84 com.google.protobuf.Timestamp getEndTime(); 85 /** 86 * 87 * 88 * <pre> 89 * End timestamp. 90 * </pre> 91 * 92 * <code>.google.protobuf.Timestamp end_time = 2;</code> 93 */ getEndTimeOrBuilder()94 com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); 95 96 /** 97 * 98 * 99 * <pre> 100 * Operation target. 101 * </pre> 102 * 103 * <code>string target = 3;</code> 104 * 105 * @return The target. 106 */ getTarget()107 java.lang.String getTarget(); 108 /** 109 * 110 * 111 * <pre> 112 * Operation target. 113 * </pre> 114 * 115 * <code>string target = 3;</code> 116 * 117 * @return The bytes for target. 118 */ getTargetBytes()119 com.google.protobuf.ByteString getTargetBytes(); 120 121 /** 122 * 123 * 124 * <pre> 125 * Operation verb. 126 * </pre> 127 * 128 * <code>string verb = 4;</code> 129 * 130 * @return The verb. 131 */ getVerb()132 java.lang.String getVerb(); 133 /** 134 * 135 * 136 * <pre> 137 * Operation verb. 138 * </pre> 139 * 140 * <code>string verb = 4;</code> 141 * 142 * @return The bytes for verb. 143 */ getVerbBytes()144 com.google.protobuf.ByteString getVerbBytes(); 145 146 /** 147 * 148 * 149 * <pre> 150 * Operation status details. 151 * </pre> 152 * 153 * <code>string status_detail = 5;</code> 154 * 155 * @return The statusDetail. 156 */ getStatusDetail()157 java.lang.String getStatusDetail(); 158 /** 159 * 160 * 161 * <pre> 162 * Operation status details. 163 * </pre> 164 * 165 * <code>string status_detail = 5;</code> 166 * 167 * @return The bytes for statusDetail. 168 */ getStatusDetailBytes()169 com.google.protobuf.ByteString getStatusDetailBytes(); 170 171 /** 172 * 173 * 174 * <pre> 175 * Specifies if cancellation was requested for the operation. 176 * </pre> 177 * 178 * <code>bool cancel_requested = 6;</code> 179 * 180 * @return The cancelRequested. 181 */ getCancelRequested()182 boolean getCancelRequested(); 183 184 /** 185 * 186 * 187 * <pre> 188 * API version. 189 * </pre> 190 * 191 * <code>string api_version = 7;</code> 192 * 193 * @return The apiVersion. 194 */ getApiVersion()195 java.lang.String getApiVersion(); 196 /** 197 * 198 * 199 * <pre> 200 * API version. 201 * </pre> 202 * 203 * <code>string api_version = 7;</code> 204 * 205 * @return The bytes for apiVersion. 206 */ getApiVersionBytes()207 com.google.protobuf.ByteString getApiVersionBytes(); 208 } 209