com.google.appengine.api.appidentity.AppIdentityServicePb Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: app_identity_service.proto
package com.google.appengine.api.appidentity;
public final class AppIdentityServicePb {
private AppIdentityServicePb() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface AppIdentityServiceErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.AppIdentityServiceError)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code java.apphosting.AppIdentityServiceError}
*/
public static final class AppIdentityServiceError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.AppIdentityServiceError)
AppIdentityServiceErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use AppIdentityServiceError.newBuilder() to construct.
private AppIdentityServiceError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AppIdentityServiceError() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AppIdentityServiceError();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_AppIdentityServiceError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_AppIdentityServiceError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.class, com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.Builder.class);
}
/**
*
* The rpc calls may return an application error which may have a value
* from error code in gaiamint response or AppIdentityServiceError. The goal
* of returning backend error is to make debugging easier.
* See gaiamintservice.proto for more errors.
*
*
* Protobuf enum {@code java.apphosting.AppIdentityServiceError.ErrorCode}
*/
public enum ErrorCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Errors with low numbers are from gaiamintservice.proto.
* Only a few are copied here as this is visible externally.
*
*
* SUCCESS = 0;
*/
SUCCESS(0),
/**
* UNKNOWN_SCOPE = 9;
*/
UNKNOWN_SCOPE(9),
/**
*
* Errors 1000 and higher are unique to this service.
*
*
* BLOB_TOO_LARGE = 1000;
*/
BLOB_TOO_LARGE(1000),
/**
* DEADLINE_EXCEEDED = 1001;
*/
DEADLINE_EXCEEDED(1001),
/**
* NOT_A_VALID_APP = 1002;
*/
NOT_A_VALID_APP(1002),
/**
* UNKNOWN_ERROR = 1003;
*/
UNKNOWN_ERROR(1003),
/**
* GAIAMINT_NOT_INITIAILIZED = 1004;
*/
GAIAMINT_NOT_INITIAILIZED(1004),
/**
* NOT_ALLOWED = 1005;
*/
NOT_ALLOWED(1005),
/**
* NOT_IMPLEMENTED = 1006;
*/
NOT_IMPLEMENTED(1006),
;
/**
*
* Errors with low numbers are from gaiamintservice.proto.
* Only a few are copied here as this is visible externally.
*
*
* SUCCESS = 0;
*/
public static final int SUCCESS_VALUE = 0;
/**
* UNKNOWN_SCOPE = 9;
*/
public static final int UNKNOWN_SCOPE_VALUE = 9;
/**
*
* Errors 1000 and higher are unique to this service.
*
*
* BLOB_TOO_LARGE = 1000;
*/
public static final int BLOB_TOO_LARGE_VALUE = 1000;
/**
* DEADLINE_EXCEEDED = 1001;
*/
public static final int DEADLINE_EXCEEDED_VALUE = 1001;
/**
* NOT_A_VALID_APP = 1002;
*/
public static final int NOT_A_VALID_APP_VALUE = 1002;
/**
* UNKNOWN_ERROR = 1003;
*/
public static final int UNKNOWN_ERROR_VALUE = 1003;
/**
* GAIAMINT_NOT_INITIAILIZED = 1004;
*/
public static final int GAIAMINT_NOT_INITIAILIZED_VALUE = 1004;
/**
* NOT_ALLOWED = 1005;
*/
public static final int NOT_ALLOWED_VALUE = 1005;
/**
* NOT_IMPLEMENTED = 1006;
*/
public static final int NOT_IMPLEMENTED_VALUE = 1006;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorCode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ErrorCode forNumber(int value) {
switch (value) {
case 0: return SUCCESS;
case 9: return UNKNOWN_SCOPE;
case 1000: return BLOB_TOO_LARGE;
case 1001: return DEADLINE_EXCEEDED;
case 1002: return NOT_A_VALID_APP;
case 1003: return UNKNOWN_ERROR;
case 1004: return GAIAMINT_NOT_INITIAILIZED;
case 1005: return NOT_ALLOWED;
case 1006: return NOT_IMPLEMENTED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ErrorCode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ErrorCode findValueByNumber(int number) {
return ErrorCode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.getDescriptor().getEnumTypes().get(0);
}
private static final ErrorCode[] VALUES = values();
public static ErrorCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private ErrorCode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:java.apphosting.AppIdentityServiceError.ErrorCode)
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError other = (com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError 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.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.AppIdentityServiceError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.AppIdentityServiceError)
com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_AppIdentityServiceError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_AppIdentityServiceError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.class, com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_AppIdentityServiceError_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError result = new com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.AppIdentityServiceError)
}
// @@protoc_insertion_point(class_scope:java.apphosting.AppIdentityServiceError)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AppIdentityServiceError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.AppIdentityServiceError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SignForAppRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.SignForAppRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @return Whether the bytesToSign field is set.
*/
boolean hasBytesToSign();
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @return The bytesToSign.
*/
com.google.protobuf.ByteString getBytesToSign();
}
/**
* Protobuf type {@code java.apphosting.SignForAppRequest}
*/
public static final class SignForAppRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.SignForAppRequest)
SignForAppRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SignForAppRequest.newBuilder() to construct.
private SignForAppRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SignForAppRequest() {
bytesToSign_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SignForAppRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest.Builder.class);
}
private int bitField0_;
public static final int BYTES_TO_SIGN_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString bytesToSign_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @return Whether the bytesToSign field is set.
*/
@java.lang.Override
public boolean hasBytesToSign() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @return The bytesToSign.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBytesToSign() {
return bytesToSign_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBytes(1, bytesToSign_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, bytesToSign_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest other = (com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest) obj;
if (hasBytesToSign() != other.hasBytesToSign()) return false;
if (hasBytesToSign()) {
if (!getBytesToSign()
.equals(other.getBytesToSign())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBytesToSign()) {
hash = (37 * hash) + BYTES_TO_SIGN_FIELD_NUMBER;
hash = (53 * hash) + getBytesToSign().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest 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.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.SignForAppRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.SignForAppRequest)
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
bytesToSign_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppRequest_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest result = new com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.bytesToSign_ = bytesToSign_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest.getDefaultInstance()) return this;
if (other.hasBytesToSign()) {
setBytesToSign(other.getBytesToSign());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
bytesToSign_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString bytesToSign_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @return Whether the bytesToSign field is set.
*/
@java.lang.Override
public boolean hasBytesToSign() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @return The bytesToSign.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBytesToSign() {
return bytesToSign_;
}
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @param value The bytesToSign to set.
* @return This builder for chaining.
*/
public Builder setBytesToSign(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
bytesToSign_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* optional string app_id = 2;
*
*
* optional bytes bytes_to_sign = 1;
* @return This builder for chaining.
*/
public Builder clearBytesToSign() {
bitField0_ = (bitField0_ & ~0x00000001);
bytesToSign_ = getDefaultInstance().getBytesToSign();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.SignForAppRequest)
}
// @@protoc_insertion_point(class_scope:java.apphosting.SignForAppRequest)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SignForAppRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SignForAppResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.SignForAppResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional string key_name = 1;
* @return Whether the keyName field is set.
*/
boolean hasKeyName();
/**
* optional string key_name = 1;
* @return The keyName.
*/
java.lang.String getKeyName();
/**
* optional string key_name = 1;
* @return The bytes for keyName.
*/
com.google.protobuf.ByteString
getKeyNameBytes();
/**
* optional bytes signature_bytes = 2;
* @return Whether the signatureBytes field is set.
*/
boolean hasSignatureBytes();
/**
* optional bytes signature_bytes = 2;
* @return The signatureBytes.
*/
com.google.protobuf.ByteString getSignatureBytes();
}
/**
* Protobuf type {@code java.apphosting.SignForAppResponse}
*/
public static final class SignForAppResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.SignForAppResponse)
SignForAppResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use SignForAppResponse.newBuilder() to construct.
private SignForAppResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SignForAppResponse() {
keyName_ = "";
signatureBytes_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SignForAppResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse.Builder.class);
}
private int bitField0_;
public static final int KEY_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object keyName_ = "";
/**
* optional string key_name = 1;
* @return Whether the keyName field is set.
*/
@java.lang.Override
public boolean hasKeyName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string key_name = 1;
* @return The keyName.
*/
@java.lang.Override
public java.lang.String getKeyName() {
java.lang.Object ref = keyName_;
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();
if (bs.isValidUtf8()) {
keyName_ = s;
}
return s;
}
}
/**
* optional string key_name = 1;
* @return The bytes for keyName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyNameBytes() {
java.lang.Object ref = keyName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
keyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIGNATURE_BYTES_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString signatureBytes_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes signature_bytes = 2;
* @return Whether the signatureBytes field is set.
*/
@java.lang.Override
public boolean hasSignatureBytes() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes signature_bytes = 2;
* @return The signatureBytes.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSignatureBytes() {
return signatureBytes_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(2, signatureBytes_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, signatureBytes_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse other = (com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse) obj;
if (hasKeyName() != other.hasKeyName()) return false;
if (hasKeyName()) {
if (!getKeyName()
.equals(other.getKeyName())) return false;
}
if (hasSignatureBytes() != other.hasSignatureBytes()) return false;
if (hasSignatureBytes()) {
if (!getSignatureBytes()
.equals(other.getSignatureBytes())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKeyName()) {
hash = (37 * hash) + KEY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getKeyName().hashCode();
}
if (hasSignatureBytes()) {
hash = (37 * hash) + SIGNATURE_BYTES_FIELD_NUMBER;
hash = (53 * hash) + getSignatureBytes().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse 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.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.SignForAppResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.SignForAppResponse)
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
keyName_ = "";
signatureBytes_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_SignForAppResponse_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse result = new com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.keyName_ = keyName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.signatureBytes_ = signatureBytes_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse.getDefaultInstance()) return this;
if (other.hasKeyName()) {
keyName_ = other.keyName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasSignatureBytes()) {
setSignatureBytes(other.getSignatureBytes());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
keyName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
signatureBytes_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object keyName_ = "";
/**
* optional string key_name = 1;
* @return Whether the keyName field is set.
*/
public boolean hasKeyName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string key_name = 1;
* @return The keyName.
*/
public java.lang.String getKeyName() {
java.lang.Object ref = keyName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
keyName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key_name = 1;
* @return The bytes for keyName.
*/
public com.google.protobuf.ByteString
getKeyNameBytes() {
java.lang.Object ref = keyName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
keyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string key_name = 1;
* @param value The keyName to set.
* @return This builder for chaining.
*/
public Builder setKeyName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
keyName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string key_name = 1;
* @return This builder for chaining.
*/
public Builder clearKeyName() {
keyName_ = getDefaultInstance().getKeyName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string key_name = 1;
* @param value The bytes for keyName to set.
* @return This builder for chaining.
*/
public Builder setKeyNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
keyName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.ByteString signatureBytes_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes signature_bytes = 2;
* @return Whether the signatureBytes field is set.
*/
@java.lang.Override
public boolean hasSignatureBytes() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes signature_bytes = 2;
* @return The signatureBytes.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSignatureBytes() {
return signatureBytes_;
}
/**
* optional bytes signature_bytes = 2;
* @param value The signatureBytes to set.
* @return This builder for chaining.
*/
public Builder setSignatureBytes(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
signatureBytes_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bytes signature_bytes = 2;
* @return This builder for chaining.
*/
public Builder clearSignatureBytes() {
bitField0_ = (bitField0_ & ~0x00000002);
signatureBytes_ = getDefaultInstance().getSignatureBytes();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.SignForAppResponse)
}
// @@protoc_insertion_point(class_scope:java.apphosting.SignForAppResponse)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SignForAppResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetPublicCertificateForAppRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetPublicCertificateForAppRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* optional string app_id = 1;
*
*
* Protobuf type {@code java.apphosting.GetPublicCertificateForAppRequest}
*/
public static final class GetPublicCertificateForAppRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetPublicCertificateForAppRequest)
GetPublicCertificateForAppRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetPublicCertificateForAppRequest.newBuilder() to construct.
private GetPublicCertificateForAppRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetPublicCertificateForAppRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetPublicCertificateForAppRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest 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.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* optional string app_id = 1;
*
*
* Protobuf type {@code java.apphosting.GetPublicCertificateForAppRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetPublicCertificateForAppRequest)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppRequest_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetPublicCertificateForAppRequest)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetPublicCertificateForAppRequest)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetPublicCertificateForAppRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PublicCertificateOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.PublicCertificate)
com.google.protobuf.MessageOrBuilder {
/**
* optional string key_name = 1;
* @return Whether the keyName field is set.
*/
boolean hasKeyName();
/**
* optional string key_name = 1;
* @return The keyName.
*/
java.lang.String getKeyName();
/**
* optional string key_name = 1;
* @return The bytes for keyName.
*/
com.google.protobuf.ByteString
getKeyNameBytes();
/**
* optional string x509_certificate_pem = 2;
* @return Whether the x509CertificatePem field is set.
*/
boolean hasX509CertificatePem();
/**
* optional string x509_certificate_pem = 2;
* @return The x509CertificatePem.
*/
java.lang.String getX509CertificatePem();
/**
* optional string x509_certificate_pem = 2;
* @return The bytes for x509CertificatePem.
*/
com.google.protobuf.ByteString
getX509CertificatePemBytes();
}
/**
* Protobuf type {@code java.apphosting.PublicCertificate}
*/
public static final class PublicCertificate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.PublicCertificate)
PublicCertificateOrBuilder {
private static final long serialVersionUID = 0L;
// Use PublicCertificate.newBuilder() to construct.
private PublicCertificate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PublicCertificate() {
keyName_ = "";
x509CertificatePem_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PublicCertificate();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_PublicCertificate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_PublicCertificate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.class, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder.class);
}
private int bitField0_;
public static final int KEY_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object keyName_ = "";
/**
* optional string key_name = 1;
* @return Whether the keyName field is set.
*/
@java.lang.Override
public boolean hasKeyName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string key_name = 1;
* @return The keyName.
*/
@java.lang.Override
public java.lang.String getKeyName() {
java.lang.Object ref = keyName_;
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();
if (bs.isValidUtf8()) {
keyName_ = s;
}
return s;
}
}
/**
* optional string key_name = 1;
* @return The bytes for keyName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyNameBytes() {
java.lang.Object ref = keyName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
keyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int X509_CERTIFICATE_PEM_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object x509CertificatePem_ = "";
/**
* optional string x509_certificate_pem = 2;
* @return Whether the x509CertificatePem field is set.
*/
@java.lang.Override
public boolean hasX509CertificatePem() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string x509_certificate_pem = 2;
* @return The x509CertificatePem.
*/
@java.lang.Override
public java.lang.String getX509CertificatePem() {
java.lang.Object ref = x509CertificatePem_;
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();
if (bs.isValidUtf8()) {
x509CertificatePem_ = s;
}
return s;
}
}
/**
* optional string x509_certificate_pem = 2;
* @return The bytes for x509CertificatePem.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getX509CertificatePemBytes() {
java.lang.Object ref = x509CertificatePem_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
x509CertificatePem_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, x509CertificatePem_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, x509CertificatePem_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate other = (com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate) obj;
if (hasKeyName() != other.hasKeyName()) return false;
if (hasKeyName()) {
if (!getKeyName()
.equals(other.getKeyName())) return false;
}
if (hasX509CertificatePem() != other.hasX509CertificatePem()) return false;
if (hasX509CertificatePem()) {
if (!getX509CertificatePem()
.equals(other.getX509CertificatePem())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKeyName()) {
hash = (37 * hash) + KEY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getKeyName().hashCode();
}
if (hasX509CertificatePem()) {
hash = (37 * hash) + X509_CERTIFICATE_PEM_FIELD_NUMBER;
hash = (53 * hash) + getX509CertificatePem().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate 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.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.PublicCertificate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.PublicCertificate)
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_PublicCertificate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_PublicCertificate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.class, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
keyName_ = "";
x509CertificatePem_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_PublicCertificate_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate result = new com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.keyName_ = keyName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.x509CertificatePem_ = x509CertificatePem_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.getDefaultInstance()) return this;
if (other.hasKeyName()) {
keyName_ = other.keyName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasX509CertificatePem()) {
x509CertificatePem_ = other.x509CertificatePem_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
keyName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
x509CertificatePem_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object keyName_ = "";
/**
* optional string key_name = 1;
* @return Whether the keyName field is set.
*/
public boolean hasKeyName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string key_name = 1;
* @return The keyName.
*/
public java.lang.String getKeyName() {
java.lang.Object ref = keyName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
keyName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key_name = 1;
* @return The bytes for keyName.
*/
public com.google.protobuf.ByteString
getKeyNameBytes() {
java.lang.Object ref = keyName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
keyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string key_name = 1;
* @param value The keyName to set.
* @return This builder for chaining.
*/
public Builder setKeyName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
keyName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string key_name = 1;
* @return This builder for chaining.
*/
public Builder clearKeyName() {
keyName_ = getDefaultInstance().getKeyName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string key_name = 1;
* @param value The bytes for keyName to set.
* @return This builder for chaining.
*/
public Builder setKeyNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
keyName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object x509CertificatePem_ = "";
/**
* optional string x509_certificate_pem = 2;
* @return Whether the x509CertificatePem field is set.
*/
public boolean hasX509CertificatePem() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string x509_certificate_pem = 2;
* @return The x509CertificatePem.
*/
public java.lang.String getX509CertificatePem() {
java.lang.Object ref = x509CertificatePem_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
x509CertificatePem_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string x509_certificate_pem = 2;
* @return The bytes for x509CertificatePem.
*/
public com.google.protobuf.ByteString
getX509CertificatePemBytes() {
java.lang.Object ref = x509CertificatePem_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
x509CertificatePem_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string x509_certificate_pem = 2;
* @param value The x509CertificatePem to set.
* @return This builder for chaining.
*/
public Builder setX509CertificatePem(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
x509CertificatePem_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string x509_certificate_pem = 2;
* @return This builder for chaining.
*/
public Builder clearX509CertificatePem() {
x509CertificatePem_ = getDefaultInstance().getX509CertificatePem();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string x509_certificate_pem = 2;
* @param value The bytes for x509CertificatePem to set.
* @return This builder for chaining.
*/
public Builder setX509CertificatePemBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
x509CertificatePem_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.PublicCertificate)
}
// @@protoc_insertion_point(class_scope:java.apphosting.PublicCertificate)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PublicCertificate parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetPublicCertificateForAppResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetPublicCertificateForAppResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
java.util.List
getPublicCertificateListList();
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate getPublicCertificateList(int index);
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
int getPublicCertificateListCount();
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
java.util.List extends com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder>
getPublicCertificateListOrBuilderList();
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder getPublicCertificateListOrBuilder(
int index);
/**
* optional int64 max_client_cache_time_in_second = 2;
* @return Whether the maxClientCacheTimeInSecond field is set.
*/
boolean hasMaxClientCacheTimeInSecond();
/**
* optional int64 max_client_cache_time_in_second = 2;
* @return The maxClientCacheTimeInSecond.
*/
long getMaxClientCacheTimeInSecond();
}
/**
* Protobuf type {@code java.apphosting.GetPublicCertificateForAppResponse}
*/
public static final class GetPublicCertificateForAppResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetPublicCertificateForAppResponse)
GetPublicCertificateForAppResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetPublicCertificateForAppResponse.newBuilder() to construct.
private GetPublicCertificateForAppResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetPublicCertificateForAppResponse() {
publicCertificateList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetPublicCertificateForAppResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse.Builder.class);
}
private int bitField0_;
public static final int PUBLIC_CERTIFICATE_LIST_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List publicCertificateList_;
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
@java.lang.Override
public java.util.List getPublicCertificateListList() {
return publicCertificateList_;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder>
getPublicCertificateListOrBuilderList() {
return publicCertificateList_;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
@java.lang.Override
public int getPublicCertificateListCount() {
return publicCertificateList_.size();
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate getPublicCertificateList(int index) {
return publicCertificateList_.get(index);
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder getPublicCertificateListOrBuilder(
int index) {
return publicCertificateList_.get(index);
}
public static final int MAX_CLIENT_CACHE_TIME_IN_SECOND_FIELD_NUMBER = 2;
private long maxClientCacheTimeInSecond_ = 0L;
/**
* optional int64 max_client_cache_time_in_second = 2;
* @return Whether the maxClientCacheTimeInSecond field is set.
*/
@java.lang.Override
public boolean hasMaxClientCacheTimeInSecond() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 max_client_cache_time_in_second = 2;
* @return The maxClientCacheTimeInSecond.
*/
@java.lang.Override
public long getMaxClientCacheTimeInSecond() {
return maxClientCacheTimeInSecond_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < publicCertificateList_.size(); i++) {
output.writeMessage(1, publicCertificateList_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(2, maxClientCacheTimeInSecond_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < publicCertificateList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, publicCertificateList_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, maxClientCacheTimeInSecond_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse) obj;
if (!getPublicCertificateListList()
.equals(other.getPublicCertificateListList())) return false;
if (hasMaxClientCacheTimeInSecond() != other.hasMaxClientCacheTimeInSecond()) return false;
if (hasMaxClientCacheTimeInSecond()) {
if (getMaxClientCacheTimeInSecond()
!= other.getMaxClientCacheTimeInSecond()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getPublicCertificateListCount() > 0) {
hash = (37 * hash) + PUBLIC_CERTIFICATE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getPublicCertificateListList().hashCode();
}
if (hasMaxClientCacheTimeInSecond()) {
hash = (37 * hash) + MAX_CLIENT_CACHE_TIME_IN_SECOND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxClientCacheTimeInSecond());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse 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.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GetPublicCertificateForAppResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetPublicCertificateForAppResponse)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (publicCertificateListBuilder_ == null) {
publicCertificateList_ = java.util.Collections.emptyList();
} else {
publicCertificateList_ = null;
publicCertificateListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
maxClientCacheTimeInSecond_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetPublicCertificateForAppResponse_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse result) {
if (publicCertificateListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
publicCertificateList_ = java.util.Collections.unmodifiableList(publicCertificateList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.publicCertificateList_ = publicCertificateList_;
} else {
result.publicCertificateList_ = publicCertificateListBuilder_.build();
}
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.maxClientCacheTimeInSecond_ = maxClientCacheTimeInSecond_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse.getDefaultInstance()) return this;
if (publicCertificateListBuilder_ == null) {
if (!other.publicCertificateList_.isEmpty()) {
if (publicCertificateList_.isEmpty()) {
publicCertificateList_ = other.publicCertificateList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePublicCertificateListIsMutable();
publicCertificateList_.addAll(other.publicCertificateList_);
}
onChanged();
}
} else {
if (!other.publicCertificateList_.isEmpty()) {
if (publicCertificateListBuilder_.isEmpty()) {
publicCertificateListBuilder_.dispose();
publicCertificateListBuilder_ = null;
publicCertificateList_ = other.publicCertificateList_;
bitField0_ = (bitField0_ & ~0x00000001);
publicCertificateListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPublicCertificateListFieldBuilder() : null;
} else {
publicCertificateListBuilder_.addAllMessages(other.publicCertificateList_);
}
}
}
if (other.hasMaxClientCacheTimeInSecond()) {
setMaxClientCacheTimeInSecond(other.getMaxClientCacheTimeInSecond());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate m =
input.readMessage(
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.PARSER,
extensionRegistry);
if (publicCertificateListBuilder_ == null) {
ensurePublicCertificateListIsMutable();
publicCertificateList_.add(m);
} else {
publicCertificateListBuilder_.addMessage(m);
}
break;
} // case 10
case 16: {
maxClientCacheTimeInSecond_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List publicCertificateList_ =
java.util.Collections.emptyList();
private void ensurePublicCertificateListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
publicCertificateList_ = new java.util.ArrayList(publicCertificateList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder> publicCertificateListBuilder_;
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public java.util.List getPublicCertificateListList() {
if (publicCertificateListBuilder_ == null) {
return java.util.Collections.unmodifiableList(publicCertificateList_);
} else {
return publicCertificateListBuilder_.getMessageList();
}
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public int getPublicCertificateListCount() {
if (publicCertificateListBuilder_ == null) {
return publicCertificateList_.size();
} else {
return publicCertificateListBuilder_.getCount();
}
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate getPublicCertificateList(int index) {
if (publicCertificateListBuilder_ == null) {
return publicCertificateList_.get(index);
} else {
return publicCertificateListBuilder_.getMessage(index);
}
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder setPublicCertificateList(
int index, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate value) {
if (publicCertificateListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePublicCertificateListIsMutable();
publicCertificateList_.set(index, value);
onChanged();
} else {
publicCertificateListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder setPublicCertificateList(
int index, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder builderForValue) {
if (publicCertificateListBuilder_ == null) {
ensurePublicCertificateListIsMutable();
publicCertificateList_.set(index, builderForValue.build());
onChanged();
} else {
publicCertificateListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder addPublicCertificateList(com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate value) {
if (publicCertificateListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePublicCertificateListIsMutable();
publicCertificateList_.add(value);
onChanged();
} else {
publicCertificateListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder addPublicCertificateList(
int index, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate value) {
if (publicCertificateListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePublicCertificateListIsMutable();
publicCertificateList_.add(index, value);
onChanged();
} else {
publicCertificateListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder addPublicCertificateList(
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder builderForValue) {
if (publicCertificateListBuilder_ == null) {
ensurePublicCertificateListIsMutable();
publicCertificateList_.add(builderForValue.build());
onChanged();
} else {
publicCertificateListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder addPublicCertificateList(
int index, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder builderForValue) {
if (publicCertificateListBuilder_ == null) {
ensurePublicCertificateListIsMutable();
publicCertificateList_.add(index, builderForValue.build());
onChanged();
} else {
publicCertificateListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder addAllPublicCertificateList(
java.lang.Iterable extends com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate> values) {
if (publicCertificateListBuilder_ == null) {
ensurePublicCertificateListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, publicCertificateList_);
onChanged();
} else {
publicCertificateListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder clearPublicCertificateList() {
if (publicCertificateListBuilder_ == null) {
publicCertificateList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
publicCertificateListBuilder_.clear();
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public Builder removePublicCertificateList(int index) {
if (publicCertificateListBuilder_ == null) {
ensurePublicCertificateListIsMutable();
publicCertificateList_.remove(index);
onChanged();
} else {
publicCertificateListBuilder_.remove(index);
}
return this;
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder getPublicCertificateListBuilder(
int index) {
return getPublicCertificateListFieldBuilder().getBuilder(index);
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder getPublicCertificateListOrBuilder(
int index) {
if (publicCertificateListBuilder_ == null) {
return publicCertificateList_.get(index); } else {
return publicCertificateListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public java.util.List extends com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder>
getPublicCertificateListOrBuilderList() {
if (publicCertificateListBuilder_ != null) {
return publicCertificateListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(publicCertificateList_);
}
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder addPublicCertificateListBuilder() {
return getPublicCertificateListFieldBuilder().addBuilder(
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.getDefaultInstance());
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder addPublicCertificateListBuilder(
int index) {
return getPublicCertificateListFieldBuilder().addBuilder(
index, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.getDefaultInstance());
}
/**
* repeated .java.apphosting.PublicCertificate public_certificate_list = 1;
*/
public java.util.List
getPublicCertificateListBuilderList() {
return getPublicCertificateListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder>
getPublicCertificateListFieldBuilder() {
if (publicCertificateListBuilder_ == null) {
publicCertificateListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificate.Builder, com.google.appengine.api.appidentity.AppIdentityServicePb.PublicCertificateOrBuilder>(
publicCertificateList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
publicCertificateList_ = null;
}
return publicCertificateListBuilder_;
}
private long maxClientCacheTimeInSecond_ ;
/**
* optional int64 max_client_cache_time_in_second = 2;
* @return Whether the maxClientCacheTimeInSecond field is set.
*/
@java.lang.Override
public boolean hasMaxClientCacheTimeInSecond() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 max_client_cache_time_in_second = 2;
* @return The maxClientCacheTimeInSecond.
*/
@java.lang.Override
public long getMaxClientCacheTimeInSecond() {
return maxClientCacheTimeInSecond_;
}
/**
* optional int64 max_client_cache_time_in_second = 2;
* @param value The maxClientCacheTimeInSecond to set.
* @return This builder for chaining.
*/
public Builder setMaxClientCacheTimeInSecond(long value) {
maxClientCacheTimeInSecond_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional int64 max_client_cache_time_in_second = 2;
* @return This builder for chaining.
*/
public Builder clearMaxClientCacheTimeInSecond() {
bitField0_ = (bitField0_ & ~0x00000002);
maxClientCacheTimeInSecond_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetPublicCertificateForAppResponse)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetPublicCertificateForAppResponse)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetPublicCertificateForAppResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetServiceAccountNameRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetServiceAccountNameRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* optional string app_id = 1;
*
*
* Protobuf type {@code java.apphosting.GetServiceAccountNameRequest}
*/
public static final class GetServiceAccountNameRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetServiceAccountNameRequest)
GetServiceAccountNameRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetServiceAccountNameRequest.newBuilder() to construct.
private GetServiceAccountNameRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetServiceAccountNameRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetServiceAccountNameRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest 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.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* optional string app_id = 1;
*
*
* Protobuf type {@code java.apphosting.GetServiceAccountNameRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetServiceAccountNameRequest)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameRequest_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetServiceAccountNameRequest)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetServiceAccountNameRequest)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetServiceAccountNameRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetServiceAccountNameResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetServiceAccountNameResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional string service_account_name = 1;
* @return Whether the serviceAccountName field is set.
*/
boolean hasServiceAccountName();
/**
* optional string service_account_name = 1;
* @return The serviceAccountName.
*/
java.lang.String getServiceAccountName();
/**
* optional string service_account_name = 1;
* @return The bytes for serviceAccountName.
*/
com.google.protobuf.ByteString
getServiceAccountNameBytes();
}
/**
* Protobuf type {@code java.apphosting.GetServiceAccountNameResponse}
*/
public static final class GetServiceAccountNameResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetServiceAccountNameResponse)
GetServiceAccountNameResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetServiceAccountNameResponse.newBuilder() to construct.
private GetServiceAccountNameResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetServiceAccountNameResponse() {
serviceAccountName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetServiceAccountNameResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse.Builder.class);
}
private int bitField0_;
public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object serviceAccountName_ = "";
/**
* optional string service_account_name = 1;
* @return Whether the serviceAccountName field is set.
*/
@java.lang.Override
public boolean hasServiceAccountName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string service_account_name = 1;
* @return The serviceAccountName.
*/
@java.lang.Override
public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
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();
if (bs.isValidUtf8()) {
serviceAccountName_ = s;
}
return s;
}
}
/**
* optional string service_account_name = 1;
* @return The bytes for serviceAccountName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceAccountName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccountName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse) obj;
if (hasServiceAccountName() != other.hasServiceAccountName()) return false;
if (hasServiceAccountName()) {
if (!getServiceAccountName()
.equals(other.getServiceAccountName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasServiceAccountName()) {
hash = (37 * hash) + SERVICE_ACCOUNT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceAccountName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse 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.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GetServiceAccountNameResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetServiceAccountNameResponse)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
serviceAccountName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetServiceAccountNameResponse_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.serviceAccountName_ = serviceAccountName_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse.getDefaultInstance()) return this;
if (other.hasServiceAccountName()) {
serviceAccountName_ = other.serviceAccountName_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
serviceAccountName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object serviceAccountName_ = "";
/**
* optional string service_account_name = 1;
* @return Whether the serviceAccountName field is set.
*/
public boolean hasServiceAccountName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string service_account_name = 1;
* @return The serviceAccountName.
*/
public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
serviceAccountName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string service_account_name = 1;
* @return The bytes for serviceAccountName.
*/
public com.google.protobuf.ByteString
getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceAccountName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string service_account_name = 1;
* @param value The serviceAccountName to set.
* @return This builder for chaining.
*/
public Builder setServiceAccountName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
serviceAccountName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string service_account_name = 1;
* @return This builder for chaining.
*/
public Builder clearServiceAccountName() {
serviceAccountName_ = getDefaultInstance().getServiceAccountName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string service_account_name = 1;
* @param value The bytes for serviceAccountName to set.
* @return This builder for chaining.
*/
public Builder setServiceAccountNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
serviceAccountName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetServiceAccountNameResponse)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetServiceAccountNameResponse)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetServiceAccountNameResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAccessTokenRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetAccessTokenRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @return A list containing the scope.
*/
java.util.List
getScopeList();
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @return The count of scope.
*/
int getScopeCount();
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param index The index of the element to return.
* @return The scope at the given index.
*/
java.lang.String getScope(int index);
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param index The index of the value to return.
* @return The bytes of the scope at the given index.
*/
com.google.protobuf.ByteString
getScopeBytes(int index);
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @return Whether the serviceAccountId field is set.
*/
boolean hasServiceAccountId();
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @return The serviceAccountId.
*/
long getServiceAccountId();
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return Whether the serviceAccountName field is set.
*/
@java.lang.Deprecated boolean hasServiceAccountName();
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return The serviceAccountName.
*/
@java.lang.Deprecated java.lang.String getServiceAccountName();
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return The bytes for serviceAccountName.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getServiceAccountNameBytes();
}
/**
* Protobuf type {@code java.apphosting.GetAccessTokenRequest}
*/
public static final class GetAccessTokenRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetAccessTokenRequest)
GetAccessTokenRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAccessTokenRequest.newBuilder() to construct.
private GetAccessTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAccessTokenRequest() {
scope_ = com.google.protobuf.LazyStringArrayList.EMPTY;
serviceAccountName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetAccessTokenRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest.Builder.class);
}
private int bitField0_;
public static final int SCOPE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringList scope_;
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @return A list containing the scope.
*/
public com.google.protobuf.ProtocolStringList
getScopeList() {
return scope_;
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @return The count of scope.
*/
public int getScopeCount() {
return scope_.size();
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param index The index of the element to return.
* @return The scope at the given index.
*/
public java.lang.String getScope(int index) {
return scope_.get(index);
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param index The index of the value to return.
* @return The bytes of the scope at the given index.
*/
public com.google.protobuf.ByteString
getScopeBytes(int index) {
return scope_.getByteString(index);
}
public static final int SERVICE_ACCOUNT_ID_FIELD_NUMBER = 2;
private long serviceAccountId_ = 0L;
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @return Whether the serviceAccountId field is set.
*/
@java.lang.Override
public boolean hasServiceAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @return The serviceAccountId.
*/
@java.lang.Override
public long getServiceAccountId() {
return serviceAccountId_;
}
public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object serviceAccountName_ = "";
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return Whether the serviceAccountName field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasServiceAccountName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return The serviceAccountName.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
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();
if (bs.isValidUtf8()) {
serviceAccountName_ = s;
}
return s;
}
}
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return The bytes for serviceAccountName.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceAccountName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < scope_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_.getRaw(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(2, serviceAccountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAccountName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < scope_.size(); i++) {
dataSize += computeStringSizeNoTag(scope_.getRaw(i));
}
size += dataSize;
size += 1 * getScopeList().size();
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, serviceAccountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceAccountName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest) obj;
if (!getScopeList()
.equals(other.getScopeList())) return false;
if (hasServiceAccountId() != other.hasServiceAccountId()) return false;
if (hasServiceAccountId()) {
if (getServiceAccountId()
!= other.getServiceAccountId()) return false;
}
if (hasServiceAccountName() != other.hasServiceAccountName()) return false;
if (hasServiceAccountName()) {
if (!getServiceAccountName()
.equals(other.getServiceAccountName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getScopeCount() > 0) {
hash = (37 * hash) + SCOPE_FIELD_NUMBER;
hash = (53 * hash) + getScopeList().hashCode();
}
if (hasServiceAccountId()) {
hash = (37 * hash) + SERVICE_ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getServiceAccountId());
}
if (hasServiceAccountName()) {
hash = (37 * hash) + SERVICE_ACCOUNT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceAccountName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest 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.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GetAccessTokenRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetAccessTokenRequest)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
scope_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
serviceAccountId_ = 0L;
serviceAccountName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenRequest_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest result) {
if (((bitField0_ & 0x00000001) != 0)) {
scope_ = scope_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.scope_ = scope_;
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.serviceAccountId_ = serviceAccountId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.serviceAccountName_ = serviceAccountName_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest.getDefaultInstance()) return this;
if (!other.scope_.isEmpty()) {
if (scope_.isEmpty()) {
scope_ = other.scope_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureScopeIsMutable();
scope_.addAll(other.scope_);
}
onChanged();
}
if (other.hasServiceAccountId()) {
setServiceAccountId(other.getServiceAccountId());
}
if (other.hasServiceAccountName()) {
serviceAccountName_ = other.serviceAccountName_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureScopeIsMutable();
scope_.add(bs);
break;
} // case 10
case 16: {
serviceAccountId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
serviceAccountName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList scope_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureScopeIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
scope_ = new com.google.protobuf.LazyStringArrayList(scope_);
bitField0_ |= 0x00000001;
}
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @return A list containing the scope.
*/
public com.google.protobuf.ProtocolStringList
getScopeList() {
return scope_.getUnmodifiableView();
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @return The count of scope.
*/
public int getScopeCount() {
return scope_.size();
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param index The index of the element to return.
* @return The scope at the given index.
*/
public java.lang.String getScope(int index) {
return scope_.get(index);
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param index The index of the value to return.
* @return The bytes of the scope at the given index.
*/
public com.google.protobuf.ByteString
getScopeBytes(int index) {
return scope_.getByteString(index);
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param index The index to set the value at.
* @param value The scope to set.
* @return This builder for chaining.
*/
public Builder setScope(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureScopeIsMutable();
scope_.set(index, value);
onChanged();
return this;
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param value The scope to add.
* @return This builder for chaining.
*/
public Builder addScope(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureScopeIsMutable();
scope_.add(value);
onChanged();
return this;
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param values The scope to add.
* @return This builder for chaining.
*/
public Builder addAllScope(
java.lang.Iterable values) {
ensureScopeIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, scope_);
onChanged();
return this;
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @return This builder for chaining.
*/
public Builder clearScope() {
scope_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* At the moment the 'id' and 'name' fields are used only for superapps.
* However if/when we support multiple robot for a single app, they will
* will be used to select the appropriate account.
*
*
* repeated string scope = 1;
* @param value The bytes of the scope to add.
* @return This builder for chaining.
*/
public Builder addScopeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureScopeIsMutable();
scope_.add(value);
onChanged();
return this;
}
private long serviceAccountId_ ;
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @return Whether the serviceAccountId field is set.
*/
@java.lang.Override
public boolean hasServiceAccountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @return The serviceAccountId.
*/
@java.lang.Override
public long getServiceAccountId() {
return serviceAccountId_;
}
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @param value The serviceAccountId to set.
* @return This builder for chaining.
*/
public Builder setServiceAccountId(long value) {
serviceAccountId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* TODO: reserve these two fields once all the depending codes
* are removed.
*
*
* optional int64 service_account_id = 2;
* @return This builder for chaining.
*/
public Builder clearServiceAccountId() {
bitField0_ = (bitField0_ & ~0x00000002);
serviceAccountId_ = 0L;
onChanged();
return this;
}
private java.lang.Object serviceAccountName_ = "";
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return Whether the serviceAccountName field is set.
*/
@java.lang.Deprecated public boolean hasServiceAccountName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return The serviceAccountName.
*/
@java.lang.Deprecated public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
serviceAccountName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return The bytes for serviceAccountName.
*/
@java.lang.Deprecated public com.google.protobuf.ByteString
getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceAccountName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @param value The serviceAccountName to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setServiceAccountName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
serviceAccountName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearServiceAccountName() {
serviceAccountName_ = getDefaultInstance().getServiceAccountName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* Service account name is superapp only, and only a refresh token of the
* form r:refresh token is supported.
*
*
* optional string service_account_name = 3 [deprecated = true];
* @deprecated java.apphosting.GetAccessTokenRequest.service_account_name is deprecated.
* See app_identity_service.proto;l=92
* @param value The bytes for serviceAccountName to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setServiceAccountNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
serviceAccountName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetAccessTokenRequest)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetAccessTokenRequest)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetAccessTokenRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAccessTokenResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetAccessTokenResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional string access_token = 1;
* @return Whether the accessToken field is set.
*/
boolean hasAccessToken();
/**
* optional string access_token = 1;
* @return The accessToken.
*/
java.lang.String getAccessToken();
/**
* optional string access_token = 1;
* @return The bytes for accessToken.
*/
com.google.protobuf.ByteString
getAccessTokenBytes();
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @return Whether the expirationTime field is set.
*/
boolean hasExpirationTime();
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @return The expirationTime.
*/
long getExpirationTime();
}
/**
* Protobuf type {@code java.apphosting.GetAccessTokenResponse}
*/
public static final class GetAccessTokenResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetAccessTokenResponse)
GetAccessTokenResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAccessTokenResponse.newBuilder() to construct.
private GetAccessTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAccessTokenResponse() {
accessToken_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetAccessTokenResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse.Builder.class);
}
private int bitField0_;
public static final int ACCESS_TOKEN_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object accessToken_ = "";
/**
* optional string access_token = 1;
* @return Whether the accessToken field is set.
*/
@java.lang.Override
public boolean hasAccessToken() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string access_token = 1;
* @return The accessToken.
*/
@java.lang.Override
public java.lang.String getAccessToken() {
java.lang.Object ref = accessToken_;
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();
if (bs.isValidUtf8()) {
accessToken_ = s;
}
return s;
}
}
/**
* optional string access_token = 1;
* @return The bytes for accessToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccessTokenBytes() {
java.lang.Object ref = accessToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPIRATION_TIME_FIELD_NUMBER = 2;
private long expirationTime_ = 0L;
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @return Whether the expirationTime field is set.
*/
@java.lang.Override
public boolean hasExpirationTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @return The expirationTime.
*/
@java.lang.Override
public long getExpirationTime() {
return expirationTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, expirationTime_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, expirationTime_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse) obj;
if (hasAccessToken() != other.hasAccessToken()) return false;
if (hasAccessToken()) {
if (!getAccessToken()
.equals(other.getAccessToken())) return false;
}
if (hasExpirationTime() != other.hasExpirationTime()) return false;
if (hasExpirationTime()) {
if (getExpirationTime()
!= other.getExpirationTime()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccessToken()) {
hash = (37 * hash) + ACCESS_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getAccessToken().hashCode();
}
if (hasExpirationTime()) {
hash = (37 * hash) + EXPIRATION_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpirationTime());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse 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.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GetAccessTokenResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetAccessTokenResponse)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accessToken_ = "";
expirationTime_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetAccessTokenResponse_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accessToken_ = accessToken_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.expirationTime_ = expirationTime_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse.getDefaultInstance()) return this;
if (other.hasAccessToken()) {
accessToken_ = other.accessToken_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasExpirationTime()) {
setExpirationTime(other.getExpirationTime());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
accessToken_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
expirationTime_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object accessToken_ = "";
/**
* optional string access_token = 1;
* @return Whether the accessToken field is set.
*/
public boolean hasAccessToken() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string access_token = 1;
* @return The accessToken.
*/
public java.lang.String getAccessToken() {
java.lang.Object ref = accessToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
accessToken_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string access_token = 1;
* @return The bytes for accessToken.
*/
public com.google.protobuf.ByteString
getAccessTokenBytes() {
java.lang.Object ref = accessToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string access_token = 1;
* @param value The accessToken to set.
* @return This builder for chaining.
*/
public Builder setAccessToken(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
accessToken_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string access_token = 1;
* @return This builder for chaining.
*/
public Builder clearAccessToken() {
accessToken_ = getDefaultInstance().getAccessToken();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string access_token = 1;
* @param value The bytes for accessToken to set.
* @return This builder for chaining.
*/
public Builder setAccessTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
accessToken_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long expirationTime_ ;
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @return Whether the expirationTime field is set.
*/
@java.lang.Override
public boolean hasExpirationTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @return The expirationTime.
*/
@java.lang.Override
public long getExpirationTime() {
return expirationTime_;
}
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @param value The expirationTime to set.
* @return This builder for chaining.
*/
public Builder setExpirationTime(long value) {
expirationTime_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Seconds since the epoch.
*
*
* optional int64 expiration_time = 2;
* @return This builder for chaining.
*/
public Builder clearExpirationTime() {
bitField0_ = (bitField0_ & ~0x00000002);
expirationTime_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetAccessTokenResponse)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetAccessTokenResponse)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetAccessTokenResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDefaultGcsBucketNameRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetDefaultGcsBucketNameRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* optional string app_id = 1;
*
*
* Protobuf type {@code java.apphosting.GetDefaultGcsBucketNameRequest}
*/
public static final class GetDefaultGcsBucketNameRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetDefaultGcsBucketNameRequest)
GetDefaultGcsBucketNameRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDefaultGcsBucketNameRequest.newBuilder() to construct.
private GetDefaultGcsBucketNameRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetDefaultGcsBucketNameRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDefaultGcsBucketNameRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest 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.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* optional string app_id = 1;
*
*
* Protobuf type {@code java.apphosting.GetDefaultGcsBucketNameRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetDefaultGcsBucketNameRequest)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetDefaultGcsBucketNameRequest)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetDefaultGcsBucketNameRequest)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetDefaultGcsBucketNameRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDefaultGcsBucketNameResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GetDefaultGcsBucketNameResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return Whether the defaultGcsBucketName field is set.
*/
boolean hasDefaultGcsBucketName();
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return The defaultGcsBucketName.
*/
java.lang.String getDefaultGcsBucketName();
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return The bytes for defaultGcsBucketName.
*/
com.google.protobuf.ByteString
getDefaultGcsBucketNameBytes();
}
/**
* Protobuf type {@code java.apphosting.GetDefaultGcsBucketNameResponse}
*/
public static final class GetDefaultGcsBucketNameResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GetDefaultGcsBucketNameResponse)
GetDefaultGcsBucketNameResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDefaultGcsBucketNameResponse.newBuilder() to construct.
private GetDefaultGcsBucketNameResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetDefaultGcsBucketNameResponse() {
defaultGcsBucketName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDefaultGcsBucketNameResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse.Builder.class);
}
private int bitField0_;
public static final int DEFAULT_GCS_BUCKET_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object defaultGcsBucketName_ = "";
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return Whether the defaultGcsBucketName field is set.
*/
@java.lang.Override
public boolean hasDefaultGcsBucketName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return The defaultGcsBucketName.
*/
@java.lang.Override
public java.lang.String getDefaultGcsBucketName() {
java.lang.Object ref = defaultGcsBucketName_;
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();
if (bs.isValidUtf8()) {
defaultGcsBucketName_ = s;
}
return s;
}
}
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return The bytes for defaultGcsBucketName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultGcsBucketNameBytes() {
java.lang.Object ref = defaultGcsBucketName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultGcsBucketName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultGcsBucketName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, defaultGcsBucketName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse)) {
return super.equals(obj);
}
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse other = (com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse) obj;
if (hasDefaultGcsBucketName() != other.hasDefaultGcsBucketName()) return false;
if (hasDefaultGcsBucketName()) {
if (!getDefaultGcsBucketName()
.equals(other.getDefaultGcsBucketName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDefaultGcsBucketName()) {
hash = (37 * hash) + DEFAULT_GCS_BUCKET_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDefaultGcsBucketName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse 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.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GetDefaultGcsBucketNameResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GetDefaultGcsBucketNameResponse)
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse.class, com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse.Builder.class);
}
// Construct using com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
defaultGcsBucketName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_descriptor;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse getDefaultInstanceForType() {
return com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse build() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse buildPartial() {
com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse result = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.defaultGcsBucketName_ = defaultGcsBucketName_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse) {
return mergeFrom((com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse other) {
if (other == com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse.getDefaultInstance()) return this;
if (other.hasDefaultGcsBucketName()) {
defaultGcsBucketName_ = other.defaultGcsBucketName_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
defaultGcsBucketName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object defaultGcsBucketName_ = "";
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return Whether the defaultGcsBucketName field is set.
*/
public boolean hasDefaultGcsBucketName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return The defaultGcsBucketName.
*/
public java.lang.String getDefaultGcsBucketName() {
java.lang.Object ref = defaultGcsBucketName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultGcsBucketName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return The bytes for defaultGcsBucketName.
*/
public com.google.protobuf.ByteString
getDefaultGcsBucketNameBytes() {
java.lang.Object ref = defaultGcsBucketName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultGcsBucketName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @param value The defaultGcsBucketName to set.
* @return This builder for chaining.
*/
public Builder setDefaultGcsBucketName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
defaultGcsBucketName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @return This builder for chaining.
*/
public Builder clearDefaultGcsBucketName() {
defaultGcsBucketName_ = getDefaultInstance().getDefaultGcsBucketName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* The default google storage bucket name for the application.
*
*
* optional string default_gcs_bucket_name = 1;
* @param value The bytes for defaultGcsBucketName to set.
* @return This builder for chaining.
*/
public Builder setDefaultGcsBucketNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
defaultGcsBucketName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GetDefaultGcsBucketNameResponse)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GetDefaultGcsBucketNameResponse)
private static final com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse();
}
public static com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetDefaultGcsBucketNameResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_AppIdentityServiceError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_AppIdentityServiceError_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_SignForAppRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_SignForAppRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_SignForAppResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_SignForAppResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetPublicCertificateForAppRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetPublicCertificateForAppRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_PublicCertificate_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_PublicCertificate_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetPublicCertificateForAppResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetPublicCertificateForAppResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetServiceAccountNameRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetServiceAccountNameRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetServiceAccountNameResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetServiceAccountNameResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetAccessTokenRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetAccessTokenRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetAccessTokenResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetAccessTokenResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032app_identity_service.proto\022\017java.appho" +
"sting\"\346\001\n\027AppIdentityServiceError\"\312\001\n\tEr" +
"rorCode\022\013\n\007SUCCESS\020\000\022\021\n\rUNKNOWN_SCOPE\020\t\022" +
"\023\n\016BLOB_TOO_LARGE\020\350\007\022\026\n\021DEADLINE_EXCEEDE" +
"D\020\351\007\022\024\n\017NOT_A_VALID_APP\020\352\007\022\022\n\rUNKNOWN_ER" +
"ROR\020\353\007\022\036\n\031GAIAMINT_NOT_INITIAILIZED\020\354\007\022\020" +
"\n\013NOT_ALLOWED\020\355\007\022\024\n\017NOT_IMPLEMENTED\020\356\007\"*" +
"\n\021SignForAppRequest\022\025\n\rbytes_to_sign\030\001 \001" +
"(\014\"?\n\022SignForAppResponse\022\020\n\010key_name\030\001 \001" +
"(\t\022\027\n\017signature_bytes\030\002 \001(\014\"#\n!GetPublic" +
"CertificateForAppRequest\"C\n\021PublicCertif" +
"icate\022\020\n\010key_name\030\001 \001(\t\022\034\n\024x509_certific" +
"ate_pem\030\002 \001(\t\"\222\001\n\"GetPublicCertificateFo" +
"rAppResponse\022C\n\027public_certificate_list\030" +
"\001 \003(\0132\".java.apphosting.PublicCertificat" +
"e\022\'\n\037max_client_cache_time_in_second\030\002 \001" +
"(\003\"\036\n\034GetServiceAccountNameRequest\"=\n\035Ge" +
"tServiceAccountNameResponse\022\034\n\024service_a" +
"ccount_name\030\001 \001(\t\"d\n\025GetAccessTokenReque" +
"st\022\r\n\005scope\030\001 \003(\t\022\032\n\022service_account_id\030" +
"\002 \001(\003\022 \n\024service_account_name\030\003 \001(\tB\002\030\001\"" +
"G\n\026GetAccessTokenResponse\022\024\n\014access_toke" +
"n\030\001 \001(\t\022\027\n\017expiration_time\030\002 \001(\003\" \n\036GetD" +
"efaultGcsBucketNameRequest\"B\n\037GetDefault" +
"GcsBucketNameResponse\022\037\n\027default_gcs_buc" +
"ket_name\030\001 \001(\tB<\n$com.google.appengine.a" +
"pi.appidentityB\024AppIdentityServicePb"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_java_apphosting_AppIdentityServiceError_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_java_apphosting_AppIdentityServiceError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_AppIdentityServiceError_descriptor,
new java.lang.String[] { });
internal_static_java_apphosting_SignForAppRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_java_apphosting_SignForAppRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_SignForAppRequest_descriptor,
new java.lang.String[] { "BytesToSign", });
internal_static_java_apphosting_SignForAppResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_java_apphosting_SignForAppResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_SignForAppResponse_descriptor,
new java.lang.String[] { "KeyName", "SignatureBytes", });
internal_static_java_apphosting_GetPublicCertificateForAppRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_java_apphosting_GetPublicCertificateForAppRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetPublicCertificateForAppRequest_descriptor,
new java.lang.String[] { });
internal_static_java_apphosting_PublicCertificate_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_java_apphosting_PublicCertificate_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_PublicCertificate_descriptor,
new java.lang.String[] { "KeyName", "X509CertificatePem", });
internal_static_java_apphosting_GetPublicCertificateForAppResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_java_apphosting_GetPublicCertificateForAppResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetPublicCertificateForAppResponse_descriptor,
new java.lang.String[] { "PublicCertificateList", "MaxClientCacheTimeInSecond", });
internal_static_java_apphosting_GetServiceAccountNameRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_java_apphosting_GetServiceAccountNameRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetServiceAccountNameRequest_descriptor,
new java.lang.String[] { });
internal_static_java_apphosting_GetServiceAccountNameResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_java_apphosting_GetServiceAccountNameResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetServiceAccountNameResponse_descriptor,
new java.lang.String[] { "ServiceAccountName", });
internal_static_java_apphosting_GetAccessTokenRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_java_apphosting_GetAccessTokenRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetAccessTokenRequest_descriptor,
new java.lang.String[] { "Scope", "ServiceAccountId", "ServiceAccountName", });
internal_static_java_apphosting_GetAccessTokenResponse_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_java_apphosting_GetAccessTokenResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetAccessTokenResponse_descriptor,
new java.lang.String[] { "AccessToken", "ExpirationTime", });
internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetDefaultGcsBucketNameRequest_descriptor,
new java.lang.String[] { });
internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GetDefaultGcsBucketNameResponse_descriptor,
new java.lang.String[] { "DefaultGcsBucketName", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy