Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright 2020 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/longrunning/operations.proto
package com.aliyun.openservices.ons.shaded.com.google.longrunning;
/**
*
*
*
* The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
*
*
* Protobuf type {@code google.longrunning.GetOperationRequest}
*/
public final class GetOperationRequest extends com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.longrunning.GetOperationRequest)
GetOperationRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetOperationRequest.newBuilder() to construct.
private GetOperationRequest(com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetOperationRequest() {
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetOperationRequest();
}
@java.lang.Override
public final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private GetOperationRequest(
com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.aliyun.openservices.ons.shaded.com.google.longrunning.OperationsProto
.internal_static_google_longrunning_GetOperationRequest_descriptor;
}
@java.lang.Override
protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.aliyun.openservices.ons.shaded.com.google.longrunning.OperationsProto
.internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.aliyun.openservices.ons.shaded.com.google.longrunning.GetOperationRequest.class,
com.aliyun.openservices.ons.shaded.com.google.longrunning.GetOperationRequest.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
*
*
*
* string name = 1;
*
* @return The bytes for name.
*/
public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b =
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* The name of the operation resource.
*
*
* string name = 1;
*
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
*
*
* The name of the operation resource.
*
*
* string name = 1;
*
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
*
*
* The name of the operation resource.
*
*
* string name = 1;
*
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.longrunning.GetOperationRequest)
}
// @@protoc_insertion_point(class_scope:google.longrunning.GetOperationRequest)
private static final com.aliyun.openservices.ons.shaded.com.google.longrunning.GetOperationRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.aliyun.openservices.ons.shaded.com.google.longrunning.GetOperationRequest();
}
public static com.aliyun.openservices.ons.shaded.com.google.longrunning.GetOperationRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser PARSER =
new com.aliyun.openservices.ons.shaded.com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetOperationRequest parsePartialFrom(
com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new GetOperationRequest(input, extensionRegistry);
}
};
public static com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.longrunning.GetOperationRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}