All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.servicecontrol.v1.CheckResponse Maven / Gradle / Ivy

There is a newer version: 1.0.14
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/api/servicecontrol/v1/service_controller.proto

package com.google.api.servicecontrol.v1;

/**
 * 
 * Response message for the Check method.
 * 
* * Protobuf type {@code google.api.servicecontrol.v1.CheckResponse} */ public final class CheckResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.servicecontrol.v1.CheckResponse) CheckResponseOrBuilder { // Use CheckResponse.newBuilder() to construct. private CheckResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private CheckResponse() { operationId_ = ""; checkErrors_ = java.util.Collections.emptyList(); serviceConfigId_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private CheckResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); operationId_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { checkErrors_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } checkErrors_.add( input.readMessage(com.google.api.servicecontrol.v1.CheckError.parser(), extensionRegistry)); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); serviceConfigId_ = s; break; } case 50: { com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder subBuilder = null; if (checkInfo_ != null) { subBuilder = checkInfo_.toBuilder(); } checkInfo_ = input.readMessage(com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(checkInfo_); checkInfo_ = subBuilder.buildPartial(); } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { checkErrors_ = java.util.Collections.unmodifiableList(checkErrors_); } makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.api.servicecontrol.v1.CheckResponse.class, com.google.api.servicecontrol.v1.CheckResponse.Builder.class); } public interface CheckInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.CheckResponse.CheckInfo) com.google.protobuf.MessageOrBuilder { /** *
     * Consumer info of this check.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ boolean hasConsumerInfo(); /** *
     * Consumer info of this check.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo getConsumerInfo(); /** *
     * Consumer info of this check.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfoOrBuilder getConsumerInfoOrBuilder(); } /** * Protobuf type {@code google.api.servicecontrol.v1.CheckResponse.CheckInfo} */ public static final class CheckInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.servicecontrol.v1.CheckResponse.CheckInfo) CheckInfoOrBuilder { // Use CheckInfo.newBuilder() to construct. private CheckInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private CheckInfo() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private CheckInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 18: { com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder subBuilder = null; if (consumerInfo_ != null) { subBuilder = consumerInfo_.toBuilder(); } consumerInfo_ = input.readMessage(com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(consumerInfo_); consumerInfo_ = subBuilder.buildPartial(); } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_CheckInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_CheckInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.class, com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder.class); } public static final int CONSUMER_INFO_FIELD_NUMBER = 2; private com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumerInfo_; /** *
     * Consumer info of this check.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public boolean hasConsumerInfo() { return consumerInfo_ != null; } /** *
     * Consumer info of this check.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo getConsumerInfo() { return consumerInfo_ == null ? com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.getDefaultInstance() : consumerInfo_; } /** *
     * Consumer info of this check.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfoOrBuilder getConsumerInfoOrBuilder() { return getConsumerInfo(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (consumerInfo_ != null) { output.writeMessage(2, getConsumerInfo()); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (consumerInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConsumerInfo()); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.api.servicecontrol.v1.CheckResponse.CheckInfo)) { return super.equals(obj); } com.google.api.servicecontrol.v1.CheckResponse.CheckInfo other = (com.google.api.servicecontrol.v1.CheckResponse.CheckInfo) obj; boolean result = true; result = result && (hasConsumerInfo() == other.hasConsumerInfo()); if (hasConsumerInfo()) { result = result && getConsumerInfo() .equals(other.getConsumerInfo()); } return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasConsumerInfo()) { hash = (37 * hash) + CONSUMER_INFO_FIELD_NUMBER; hash = (53 * hash) + getConsumerInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.api.servicecontrol.v1.CheckResponse.CheckInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code google.api.servicecontrol.v1.CheckResponse.CheckInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicecontrol.v1.CheckResponse.CheckInfo) com.google.api.servicecontrol.v1.CheckResponse.CheckInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_CheckInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_CheckInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.class, com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder.class); } // Construct using com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); if (consumerInfoBuilder_ == null) { consumerInfo_ = null; } else { consumerInfo_ = null; consumerInfoBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_CheckInfo_descriptor; } public com.google.api.servicecontrol.v1.CheckResponse.CheckInfo getDefaultInstanceForType() { return com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.getDefaultInstance(); } public com.google.api.servicecontrol.v1.CheckResponse.CheckInfo build() { com.google.api.servicecontrol.v1.CheckResponse.CheckInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.api.servicecontrol.v1.CheckResponse.CheckInfo buildPartial() { com.google.api.servicecontrol.v1.CheckResponse.CheckInfo result = new com.google.api.servicecontrol.v1.CheckResponse.CheckInfo(this); if (consumerInfoBuilder_ == null) { result.consumerInfo_ = consumerInfo_; } else { result.consumerInfo_ = consumerInfoBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicecontrol.v1.CheckResponse.CheckInfo) { return mergeFrom((com.google.api.servicecontrol.v1.CheckResponse.CheckInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.api.servicecontrol.v1.CheckResponse.CheckInfo other) { if (other == com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.getDefaultInstance()) return this; if (other.hasConsumerInfo()) { mergeConsumerInfo(other.getConsumerInfo()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.api.servicecontrol.v1.CheckResponse.CheckInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.api.servicecontrol.v1.CheckResponse.CheckInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumerInfo_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfoOrBuilder> consumerInfoBuilder_; /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public boolean hasConsumerInfo() { return consumerInfoBuilder_ != null || consumerInfo_ != null; } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo getConsumerInfo() { if (consumerInfoBuilder_ == null) { return consumerInfo_ == null ? com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.getDefaultInstance() : consumerInfo_; } else { return consumerInfoBuilder_.getMessage(); } } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public Builder setConsumerInfo(com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo value) { if (consumerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } consumerInfo_ = value; onChanged(); } else { consumerInfoBuilder_.setMessage(value); } return this; } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public Builder setConsumerInfo( com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder builderForValue) { if (consumerInfoBuilder_ == null) { consumerInfo_ = builderForValue.build(); onChanged(); } else { consumerInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public Builder mergeConsumerInfo(com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo value) { if (consumerInfoBuilder_ == null) { if (consumerInfo_ != null) { consumerInfo_ = com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.newBuilder(consumerInfo_).mergeFrom(value).buildPartial(); } else { consumerInfo_ = value; } onChanged(); } else { consumerInfoBuilder_.mergeFrom(value); } return this; } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public Builder clearConsumerInfo() { if (consumerInfoBuilder_ == null) { consumerInfo_ = null; onChanged(); } else { consumerInfo_ = null; consumerInfoBuilder_ = null; } return this; } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder getConsumerInfoBuilder() { onChanged(); return getConsumerInfoFieldBuilder().getBuilder(); } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfoOrBuilder getConsumerInfoOrBuilder() { if (consumerInfoBuilder_ != null) { return consumerInfoBuilder_.getMessageOrBuilder(); } else { return consumerInfo_ == null ? com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.getDefaultInstance() : consumerInfo_; } } /** *
       * Consumer info of this check.
       * 
* * optional .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfoOrBuilder> getConsumerInfoFieldBuilder() { if (consumerInfoBuilder_ == null) { consumerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfoOrBuilder>( getConsumerInfo(), getParentForChildren(), isClean()); consumerInfo_ = null; } return consumerInfoBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.servicecontrol.v1.CheckResponse.CheckInfo) } // @@protoc_insertion_point(class_scope:google.api.servicecontrol.v1.CheckResponse.CheckInfo) private static final com.google.api.servicecontrol.v1.CheckResponse.CheckInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicecontrol.v1.CheckResponse.CheckInfo(); } public static com.google.api.servicecontrol.v1.CheckResponse.CheckInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CheckInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.google.api.servicecontrol.v1.CheckResponse.CheckInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConsumerInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) com.google.protobuf.MessageOrBuilder { /** *
     * The Google cloud project number, e.g. 1234567890. A value of 0 indicates
     * no project number is found.
     * 
* * optional int64 project_number = 1; */ long getProjectNumber(); } /** *
   * `ConsumerInfo` provides information about the consumer project.
   * 
* * Protobuf type {@code google.api.servicecontrol.v1.CheckResponse.ConsumerInfo} */ public static final class ConsumerInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) ConsumerInfoOrBuilder { // Use ConsumerInfo.newBuilder() to construct. private ConsumerInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ConsumerInfo() { projectNumber_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private ConsumerInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 8: { projectNumber_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_ConsumerInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_ConsumerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.class, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder.class); } public static final int PROJECT_NUMBER_FIELD_NUMBER = 1; private long projectNumber_; /** *
     * The Google cloud project number, e.g. 1234567890. A value of 0 indicates
     * no project number is found.
     * 
* * optional int64 project_number = 1; */ public long getProjectNumber() { return projectNumber_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (projectNumber_ != 0L) { output.writeInt64(1, projectNumber_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (projectNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, projectNumber_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo)) { return super.equals(obj); } com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo other = (com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) obj; boolean result = true; result = result && (getProjectNumber() == other.getProjectNumber()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + PROJECT_NUMBER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectNumber()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * `ConsumerInfo` provides information about the consumer project.
     * 
* * Protobuf type {@code google.api.servicecontrol.v1.CheckResponse.ConsumerInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_ConsumerInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_ConsumerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.class, com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.Builder.class); } // Construct using com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); projectNumber_ = 0L; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_ConsumerInfo_descriptor; } public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo getDefaultInstanceForType() { return com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.getDefaultInstance(); } public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo build() { com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo buildPartial() { com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo result = new com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo(this); result.projectNumber_ = projectNumber_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) { return mergeFrom((com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo other) { if (other == com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.getDefaultInstance()) return this; if (other.getProjectNumber() != 0L) { setProjectNumber(other.getProjectNumber()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long projectNumber_ ; /** *
       * The Google cloud project number, e.g. 1234567890. A value of 0 indicates
       * no project number is found.
       * 
* * optional int64 project_number = 1; */ public long getProjectNumber() { return projectNumber_; } /** *
       * The Google cloud project number, e.g. 1234567890. A value of 0 indicates
       * no project number is found.
       * 
* * optional int64 project_number = 1; */ public Builder setProjectNumber(long value) { projectNumber_ = value; onChanged(); return this; } /** *
       * The Google cloud project number, e.g. 1234567890. A value of 0 indicates
       * no project number is found.
       * 
* * optional int64 project_number = 1; */ public Builder clearProjectNumber() { projectNumber_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) } // @@protoc_insertion_point(class_scope:google.api.servicecontrol.v1.CheckResponse.ConsumerInfo) private static final com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo(); } public static com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ConsumerInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConsumerInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int OPERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object operationId_; /** *
   * The same operation_id value used in the CheckRequest.
   * Used for logging and diagnostics purposes.
   * 
* * optional string operation_id = 1; */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** *
   * The same operation_id value used in the CheckRequest.
   * Used for logging and diagnostics purposes.
   * 
* * optional string operation_id = 1; */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHECK_ERRORS_FIELD_NUMBER = 2; private java.util.List checkErrors_; /** *
   * Indicate the decision of the check.
   * If no check errors are present, the service should process the operation.
   * Otherwise the service should use the list of errors to determine the
   * appropriate action.
   * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public java.util.List getCheckErrorsList() { return checkErrors_; } /** *
   * Indicate the decision of the check.
   * If no check errors are present, the service should process the operation.
   * Otherwise the service should use the list of errors to determine the
   * appropriate action.
   * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public java.util.List getCheckErrorsOrBuilderList() { return checkErrors_; } /** *
   * Indicate the decision of the check.
   * If no check errors are present, the service should process the operation.
   * Otherwise the service should use the list of errors to determine the
   * appropriate action.
   * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public int getCheckErrorsCount() { return checkErrors_.size(); } /** *
   * Indicate the decision of the check.
   * If no check errors are present, the service should process the operation.
   * Otherwise the service should use the list of errors to determine the
   * appropriate action.
   * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public com.google.api.servicecontrol.v1.CheckError getCheckErrors(int index) { return checkErrors_.get(index); } /** *
   * Indicate the decision of the check.
   * If no check errors are present, the service should process the operation.
   * Otherwise the service should use the list of errors to determine the
   * appropriate action.
   * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public com.google.api.servicecontrol.v1.CheckErrorOrBuilder getCheckErrorsOrBuilder( int index) { return checkErrors_.get(index); } public static final int SERVICE_CONFIG_ID_FIELD_NUMBER = 5; private volatile java.lang.Object serviceConfigId_; /** *
   * The actual config id used to process the request.
   * 
* * optional string service_config_id = 5; */ public java.lang.String getServiceConfigId() { java.lang.Object ref = serviceConfigId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceConfigId_ = s; return s; } } /** *
   * The actual config id used to process the request.
   * 
* * optional string service_config_id = 5; */ public com.google.protobuf.ByteString getServiceConfigIdBytes() { java.lang.Object ref = serviceConfigId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceConfigId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHECK_INFO_FIELD_NUMBER = 6; private com.google.api.servicecontrol.v1.CheckResponse.CheckInfo checkInfo_; /** *
   * Feedback data returned from the server during processing a Check request.
   * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public boolean hasCheckInfo() { return checkInfo_ != null; } /** *
   * Feedback data returned from the server during processing a Check request.
   * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public com.google.api.servicecontrol.v1.CheckResponse.CheckInfo getCheckInfo() { return checkInfo_ == null ? com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.getDefaultInstance() : checkInfo_; } /** *
   * Feedback data returned from the server during processing a Check request.
   * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public com.google.api.servicecontrol.v1.CheckResponse.CheckInfoOrBuilder getCheckInfoOrBuilder() { return getCheckInfo(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getOperationIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, operationId_); } for (int i = 0; i < checkErrors_.size(); i++) { output.writeMessage(2, checkErrors_.get(i)); } if (!getServiceConfigIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 5, serviceConfigId_); } if (checkInfo_ != null) { output.writeMessage(6, getCheckInfo()); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getOperationIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, operationId_); } for (int i = 0; i < checkErrors_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, checkErrors_.get(i)); } if (!getServiceConfigIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(5, serviceConfigId_); } if (checkInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getCheckInfo()); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.api.servicecontrol.v1.CheckResponse)) { return super.equals(obj); } com.google.api.servicecontrol.v1.CheckResponse other = (com.google.api.servicecontrol.v1.CheckResponse) obj; boolean result = true; result = result && getOperationId() .equals(other.getOperationId()); result = result && getCheckErrorsList() .equals(other.getCheckErrorsList()); result = result && getServiceConfigId() .equals(other.getServiceConfigId()); result = result && (hasCheckInfo() == other.hasCheckInfo()); if (hasCheckInfo()) { result = result && getCheckInfo() .equals(other.getCheckInfo()); } return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + OPERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getOperationId().hashCode(); if (getCheckErrorsCount() > 0) { hash = (37 * hash) + CHECK_ERRORS_FIELD_NUMBER; hash = (53 * hash) + getCheckErrorsList().hashCode(); } hash = (37 * hash) + SERVICE_CONFIG_ID_FIELD_NUMBER; hash = (53 * hash) + getServiceConfigId().hashCode(); if (hasCheckInfo()) { hash = (37 * hash) + CHECK_INFO_FIELD_NUMBER; hash = (53 * hash) + getCheckInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.google.api.servicecontrol.v1.CheckResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.api.servicecontrol.v1.CheckResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Response message for the Check method.
   * 
* * Protobuf type {@code google.api.servicecontrol.v1.CheckResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.servicecontrol.v1.CheckResponse) com.google.api.servicecontrol.v1.CheckResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.api.servicecontrol.v1.CheckResponse.class, com.google.api.servicecontrol.v1.CheckResponse.Builder.class); } // Construct using com.google.api.servicecontrol.v1.CheckResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCheckErrorsFieldBuilder(); } } public Builder clear() { super.clear(); operationId_ = ""; if (checkErrorsBuilder_ == null) { checkErrors_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { checkErrorsBuilder_.clear(); } serviceConfigId_ = ""; if (checkInfoBuilder_ == null) { checkInfo_ = null; } else { checkInfo_ = null; checkInfoBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.servicecontrol.v1.ServiceControllerProto.internal_static_google_api_servicecontrol_v1_CheckResponse_descriptor; } public com.google.api.servicecontrol.v1.CheckResponse getDefaultInstanceForType() { return com.google.api.servicecontrol.v1.CheckResponse.getDefaultInstance(); } public com.google.api.servicecontrol.v1.CheckResponse build() { com.google.api.servicecontrol.v1.CheckResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.api.servicecontrol.v1.CheckResponse buildPartial() { com.google.api.servicecontrol.v1.CheckResponse result = new com.google.api.servicecontrol.v1.CheckResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.operationId_ = operationId_; if (checkErrorsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { checkErrors_ = java.util.Collections.unmodifiableList(checkErrors_); bitField0_ = (bitField0_ & ~0x00000002); } result.checkErrors_ = checkErrors_; } else { result.checkErrors_ = checkErrorsBuilder_.build(); } result.serviceConfigId_ = serviceConfigId_; if (checkInfoBuilder_ == null) { result.checkInfo_ = checkInfo_; } else { result.checkInfo_ = checkInfoBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.servicecontrol.v1.CheckResponse) { return mergeFrom((com.google.api.servicecontrol.v1.CheckResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.api.servicecontrol.v1.CheckResponse other) { if (other == com.google.api.servicecontrol.v1.CheckResponse.getDefaultInstance()) return this; if (!other.getOperationId().isEmpty()) { operationId_ = other.operationId_; onChanged(); } if (checkErrorsBuilder_ == null) { if (!other.checkErrors_.isEmpty()) { if (checkErrors_.isEmpty()) { checkErrors_ = other.checkErrors_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCheckErrorsIsMutable(); checkErrors_.addAll(other.checkErrors_); } onChanged(); } } else { if (!other.checkErrors_.isEmpty()) { if (checkErrorsBuilder_.isEmpty()) { checkErrorsBuilder_.dispose(); checkErrorsBuilder_ = null; checkErrors_ = other.checkErrors_; bitField0_ = (bitField0_ & ~0x00000002); checkErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCheckErrorsFieldBuilder() : null; } else { checkErrorsBuilder_.addAllMessages(other.checkErrors_); } } } if (!other.getServiceConfigId().isEmpty()) { serviceConfigId_ = other.serviceConfigId_; onChanged(); } if (other.hasCheckInfo()) { mergeCheckInfo(other.getCheckInfo()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.api.servicecontrol.v1.CheckResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.api.servicecontrol.v1.CheckResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object operationId_ = ""; /** *
     * The same operation_id value used in the CheckRequest.
     * Used for logging and diagnostics purposes.
     * 
* * optional string operation_id = 1; */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The same operation_id value used in the CheckRequest.
     * Used for logging and diagnostics purposes.
     * 
* * optional string operation_id = 1; */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The same operation_id value used in the CheckRequest.
     * Used for logging and diagnostics purposes.
     * 
* * optional string operation_id = 1; */ public Builder setOperationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationId_ = value; onChanged(); return this; } /** *
     * The same operation_id value used in the CheckRequest.
     * Used for logging and diagnostics purposes.
     * 
* * optional string operation_id = 1; */ public Builder clearOperationId() { operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** *
     * The same operation_id value used in the CheckRequest.
     * Used for logging and diagnostics purposes.
     * 
* * optional string operation_id = 1; */ public Builder setOperationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationId_ = value; onChanged(); return this; } private java.util.List checkErrors_ = java.util.Collections.emptyList(); private void ensureCheckErrorsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { checkErrors_ = new java.util.ArrayList(checkErrors_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.api.servicecontrol.v1.CheckError, com.google.api.servicecontrol.v1.CheckError.Builder, com.google.api.servicecontrol.v1.CheckErrorOrBuilder> checkErrorsBuilder_; /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public java.util.List getCheckErrorsList() { if (checkErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(checkErrors_); } else { return checkErrorsBuilder_.getMessageList(); } } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public int getCheckErrorsCount() { if (checkErrorsBuilder_ == null) { return checkErrors_.size(); } else { return checkErrorsBuilder_.getCount(); } } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public com.google.api.servicecontrol.v1.CheckError getCheckErrors(int index) { if (checkErrorsBuilder_ == null) { return checkErrors_.get(index); } else { return checkErrorsBuilder_.getMessage(index); } } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder setCheckErrors( int index, com.google.api.servicecontrol.v1.CheckError value) { if (checkErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCheckErrorsIsMutable(); checkErrors_.set(index, value); onChanged(); } else { checkErrorsBuilder_.setMessage(index, value); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder setCheckErrors( int index, com.google.api.servicecontrol.v1.CheckError.Builder builderForValue) { if (checkErrorsBuilder_ == null) { ensureCheckErrorsIsMutable(); checkErrors_.set(index, builderForValue.build()); onChanged(); } else { checkErrorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder addCheckErrors(com.google.api.servicecontrol.v1.CheckError value) { if (checkErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCheckErrorsIsMutable(); checkErrors_.add(value); onChanged(); } else { checkErrorsBuilder_.addMessage(value); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder addCheckErrors( int index, com.google.api.servicecontrol.v1.CheckError value) { if (checkErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCheckErrorsIsMutable(); checkErrors_.add(index, value); onChanged(); } else { checkErrorsBuilder_.addMessage(index, value); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder addCheckErrors( com.google.api.servicecontrol.v1.CheckError.Builder builderForValue) { if (checkErrorsBuilder_ == null) { ensureCheckErrorsIsMutable(); checkErrors_.add(builderForValue.build()); onChanged(); } else { checkErrorsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder addCheckErrors( int index, com.google.api.servicecontrol.v1.CheckError.Builder builderForValue) { if (checkErrorsBuilder_ == null) { ensureCheckErrorsIsMutable(); checkErrors_.add(index, builderForValue.build()); onChanged(); } else { checkErrorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder addAllCheckErrors( java.lang.Iterable values) { if (checkErrorsBuilder_ == null) { ensureCheckErrorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, checkErrors_); onChanged(); } else { checkErrorsBuilder_.addAllMessages(values); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder clearCheckErrors() { if (checkErrorsBuilder_ == null) { checkErrors_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { checkErrorsBuilder_.clear(); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public Builder removeCheckErrors(int index) { if (checkErrorsBuilder_ == null) { ensureCheckErrorsIsMutable(); checkErrors_.remove(index); onChanged(); } else { checkErrorsBuilder_.remove(index); } return this; } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public com.google.api.servicecontrol.v1.CheckError.Builder getCheckErrorsBuilder( int index) { return getCheckErrorsFieldBuilder().getBuilder(index); } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public com.google.api.servicecontrol.v1.CheckErrorOrBuilder getCheckErrorsOrBuilder( int index) { if (checkErrorsBuilder_ == null) { return checkErrors_.get(index); } else { return checkErrorsBuilder_.getMessageOrBuilder(index); } } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public java.util.List getCheckErrorsOrBuilderList() { if (checkErrorsBuilder_ != null) { return checkErrorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(checkErrors_); } } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public com.google.api.servicecontrol.v1.CheckError.Builder addCheckErrorsBuilder() { return getCheckErrorsFieldBuilder().addBuilder( com.google.api.servicecontrol.v1.CheckError.getDefaultInstance()); } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public com.google.api.servicecontrol.v1.CheckError.Builder addCheckErrorsBuilder( int index) { return getCheckErrorsFieldBuilder().addBuilder( index, com.google.api.servicecontrol.v1.CheckError.getDefaultInstance()); } /** *
     * Indicate the decision of the check.
     * If no check errors are present, the service should process the operation.
     * Otherwise the service should use the list of errors to determine the
     * appropriate action.
     * 
* * repeated .google.api.servicecontrol.v1.CheckError check_errors = 2; */ public java.util.List getCheckErrorsBuilderList() { return getCheckErrorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.api.servicecontrol.v1.CheckError, com.google.api.servicecontrol.v1.CheckError.Builder, com.google.api.servicecontrol.v1.CheckErrorOrBuilder> getCheckErrorsFieldBuilder() { if (checkErrorsBuilder_ == null) { checkErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.api.servicecontrol.v1.CheckError, com.google.api.servicecontrol.v1.CheckError.Builder, com.google.api.servicecontrol.v1.CheckErrorOrBuilder>( checkErrors_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); checkErrors_ = null; } return checkErrorsBuilder_; } private java.lang.Object serviceConfigId_ = ""; /** *
     * The actual config id used to process the request.
     * 
* * optional string service_config_id = 5; */ public java.lang.String getServiceConfigId() { java.lang.Object ref = serviceConfigId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceConfigId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The actual config id used to process the request.
     * 
* * optional string service_config_id = 5; */ public com.google.protobuf.ByteString getServiceConfigIdBytes() { java.lang.Object ref = serviceConfigId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceConfigId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The actual config id used to process the request.
     * 
* * optional string service_config_id = 5; */ public Builder setServiceConfigId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceConfigId_ = value; onChanged(); return this; } /** *
     * The actual config id used to process the request.
     * 
* * optional string service_config_id = 5; */ public Builder clearServiceConfigId() { serviceConfigId_ = getDefaultInstance().getServiceConfigId(); onChanged(); return this; } /** *
     * The actual config id used to process the request.
     * 
* * optional string service_config_id = 5; */ public Builder setServiceConfigIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceConfigId_ = value; onChanged(); return this; } private com.google.api.servicecontrol.v1.CheckResponse.CheckInfo checkInfo_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.api.servicecontrol.v1.CheckResponse.CheckInfo, com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder, com.google.api.servicecontrol.v1.CheckResponse.CheckInfoOrBuilder> checkInfoBuilder_; /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public boolean hasCheckInfo() { return checkInfoBuilder_ != null || checkInfo_ != null; } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public com.google.api.servicecontrol.v1.CheckResponse.CheckInfo getCheckInfo() { if (checkInfoBuilder_ == null) { return checkInfo_ == null ? com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.getDefaultInstance() : checkInfo_; } else { return checkInfoBuilder_.getMessage(); } } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public Builder setCheckInfo(com.google.api.servicecontrol.v1.CheckResponse.CheckInfo value) { if (checkInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } checkInfo_ = value; onChanged(); } else { checkInfoBuilder_.setMessage(value); } return this; } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public Builder setCheckInfo( com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder builderForValue) { if (checkInfoBuilder_ == null) { checkInfo_ = builderForValue.build(); onChanged(); } else { checkInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public Builder mergeCheckInfo(com.google.api.servicecontrol.v1.CheckResponse.CheckInfo value) { if (checkInfoBuilder_ == null) { if (checkInfo_ != null) { checkInfo_ = com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.newBuilder(checkInfo_).mergeFrom(value).buildPartial(); } else { checkInfo_ = value; } onChanged(); } else { checkInfoBuilder_.mergeFrom(value); } return this; } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public Builder clearCheckInfo() { if (checkInfoBuilder_ == null) { checkInfo_ = null; onChanged(); } else { checkInfo_ = null; checkInfoBuilder_ = null; } return this; } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder getCheckInfoBuilder() { onChanged(); return getCheckInfoFieldBuilder().getBuilder(); } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ public com.google.api.servicecontrol.v1.CheckResponse.CheckInfoOrBuilder getCheckInfoOrBuilder() { if (checkInfoBuilder_ != null) { return checkInfoBuilder_.getMessageOrBuilder(); } else { return checkInfo_ == null ? com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.getDefaultInstance() : checkInfo_; } } /** *
     * Feedback data returned from the server during processing a Check request.
     * 
* * optional .google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.api.servicecontrol.v1.CheckResponse.CheckInfo, com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder, com.google.api.servicecontrol.v1.CheckResponse.CheckInfoOrBuilder> getCheckInfoFieldBuilder() { if (checkInfoBuilder_ == null) { checkInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.api.servicecontrol.v1.CheckResponse.CheckInfo, com.google.api.servicecontrol.v1.CheckResponse.CheckInfo.Builder, com.google.api.servicecontrol.v1.CheckResponse.CheckInfoOrBuilder>( getCheckInfo(), getParentForChildren(), isClean()); checkInfo_ = null; } return checkInfoBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.servicecontrol.v1.CheckResponse) } // @@protoc_insertion_point(class_scope:google.api.servicecontrol.v1.CheckResponse) private static final com.google.api.servicecontrol.v1.CheckResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.api.servicecontrol.v1.CheckResponse(); } public static com.google.api.servicecontrol.v1.CheckResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CheckResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.google.api.servicecontrol.v1.CheckResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy