org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yarn_server_timelineserver_recovery.proto
package org.apache.hadoop.yarn.proto;
public final class YarnServerTimelineServerRecoveryProtos {
private YarnServerTimelineServerRecoveryProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface TimelineDelegationTokenIdentifierDataProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
boolean hasTokenIdentifier();
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto getTokenIdentifier();
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProtoOrBuilder getTokenIdentifierOrBuilder();
// optional int64 renewDate = 2;
/**
* optional int64 renewDate = 2;
*/
boolean hasRenewDate();
/**
* optional int64 renewDate = 2;
*/
long getRenewDate();
}
/**
* Protobuf type {@code hadoop.yarn.TimelineDelegationTokenIdentifierDataProto}
*/
public static final class TimelineDelegationTokenIdentifierDataProto extends
com.google.protobuf.GeneratedMessage
implements TimelineDelegationTokenIdentifierDataProtoOrBuilder {
// Use TimelineDelegationTokenIdentifierDataProto.newBuilder() to construct.
private TimelineDelegationTokenIdentifierDataProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private TimelineDelegationTokenIdentifierDataProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final TimelineDelegationTokenIdentifierDataProto defaultInstance;
public static TimelineDelegationTokenIdentifierDataProto getDefaultInstance() {
return defaultInstance;
}
public TimelineDelegationTokenIdentifierDataProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TimelineDelegationTokenIdentifierDataProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = tokenIdentifier_.toBuilder();
}
tokenIdentifier_ = input.readMessage(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tokenIdentifier_);
tokenIdentifier_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
renewDate_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto.class, org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TimelineDelegationTokenIdentifierDataProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TimelineDelegationTokenIdentifierDataProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
public static final int TOKEN_IDENTIFIER_FIELD_NUMBER = 1;
private org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto tokenIdentifier_;
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public boolean hasTokenIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto getTokenIdentifier() {
return tokenIdentifier_;
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProtoOrBuilder getTokenIdentifierOrBuilder() {
return tokenIdentifier_;
}
// optional int64 renewDate = 2;
public static final int RENEWDATE_FIELD_NUMBER = 2;
private long renewDate_;
/**
* optional int64 renewDate = 2;
*/
public boolean hasRenewDate() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int64 renewDate = 2;
*/
public long getRenewDate() {
return renewDate_;
}
private void initFields() {
tokenIdentifier_ = org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance();
renewDate_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, tokenIdentifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt64(2, renewDate_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, tokenIdentifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, renewDate_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto)) {
return super.equals(obj);
}
org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto other = (org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto) obj;
boolean result = true;
result = result && (hasTokenIdentifier() == other.hasTokenIdentifier());
if (hasTokenIdentifier()) {
result = result && getTokenIdentifier()
.equals(other.getTokenIdentifier());
}
result = result && (hasRenewDate() == other.hasRenewDate());
if (hasRenewDate()) {
result = result && (getRenewDate()
== other.getRenewDate());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasTokenIdentifier()) {
hash = (37 * hash) + TOKEN_IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getTokenIdentifier().hashCode();
}
if (hasRenewDate()) {
hash = (37 * hash) + RENEWDATE_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getRenewDate());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.yarn.TimelineDelegationTokenIdentifierDataProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto.class, org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto.Builder.class);
}
// Construct using org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getTokenIdentifierFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (tokenIdentifierBuilder_ == null) {
tokenIdentifier_ = org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance();
} else {
tokenIdentifierBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
renewDate_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_descriptor;
}
public org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto getDefaultInstanceForType() {
return org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto.getDefaultInstance();
}
public org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto build() {
org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto buildPartial() {
org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto result = new org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (tokenIdentifierBuilder_ == null) {
result.tokenIdentifier_ = tokenIdentifier_;
} else {
result.tokenIdentifier_ = tokenIdentifierBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.renewDate_ = renewDate_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto) {
return mergeFrom((org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto other) {
if (other == org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto.getDefaultInstance()) return this;
if (other.hasTokenIdentifier()) {
mergeTokenIdentifier(other.getTokenIdentifier());
}
if (other.hasRenewDate()) {
setRenewDate(other.getRenewDate());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
private org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto tokenIdentifier_ = org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto, org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder, org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProtoOrBuilder> tokenIdentifierBuilder_;
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public boolean hasTokenIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto getTokenIdentifier() {
if (tokenIdentifierBuilder_ == null) {
return tokenIdentifier_;
} else {
return tokenIdentifierBuilder_.getMessage();
}
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public Builder setTokenIdentifier(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto value) {
if (tokenIdentifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tokenIdentifier_ = value;
onChanged();
} else {
tokenIdentifierBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public Builder setTokenIdentifier(
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder builderForValue) {
if (tokenIdentifierBuilder_ == null) {
tokenIdentifier_ = builderForValue.build();
onChanged();
} else {
tokenIdentifierBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public Builder mergeTokenIdentifier(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto value) {
if (tokenIdentifierBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
tokenIdentifier_ != org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance()) {
tokenIdentifier_ =
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.newBuilder(tokenIdentifier_).mergeFrom(value).buildPartial();
} else {
tokenIdentifier_ = value;
}
onChanged();
} else {
tokenIdentifierBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public Builder clearTokenIdentifier() {
if (tokenIdentifierBuilder_ == null) {
tokenIdentifier_ = org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance();
onChanged();
} else {
tokenIdentifierBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder getTokenIdentifierBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getTokenIdentifierFieldBuilder().getBuilder();
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProtoOrBuilder getTokenIdentifierOrBuilder() {
if (tokenIdentifierBuilder_ != null) {
return tokenIdentifierBuilder_.getMessageOrBuilder();
} else {
return tokenIdentifier_;
}
}
/**
* optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto, org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder, org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProtoOrBuilder>
getTokenIdentifierFieldBuilder() {
if (tokenIdentifierBuilder_ == null) {
tokenIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto, org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder, org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProtoOrBuilder>(
tokenIdentifier_,
getParentForChildren(),
isClean());
tokenIdentifier_ = null;
}
return tokenIdentifierBuilder_;
}
// optional int64 renewDate = 2;
private long renewDate_ ;
/**
* optional int64 renewDate = 2;
*/
public boolean hasRenewDate() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int64 renewDate = 2;
*/
public long getRenewDate() {
return renewDate_;
}
/**
* optional int64 renewDate = 2;
*/
public Builder setRenewDate(long value) {
bitField0_ |= 0x00000002;
renewDate_ = value;
onChanged();
return this;
}
/**
* optional int64 renewDate = 2;
*/
public Builder clearRenewDate() {
bitField0_ = (bitField0_ & ~0x00000002);
renewDate_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.yarn.TimelineDelegationTokenIdentifierDataProto)
}
static {
defaultInstance = new TimelineDelegationTokenIdentifierDataProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.yarn.TimelineDelegationTokenIdentifierDataProto)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_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)yarn_server_timelineserver_recovery.pr" +
"oto\022\013hadoop.yarn\032\031yarn_security_token.pr" +
"oto\"\212\001\n*TimelineDelegationTokenIdentifie" +
"rDataProto\022I\n\020token_identifier\030\001 \001(\0132/.h" +
"adoop.yarn.YARNDelegationTokenIdentifier" +
"Proto\022\021\n\trenewDate\030\002 \001(\003BL\n\034org.apache.h" +
"adoop.yarn.protoB&YarnServerTimelineServ" +
"erRecoveryProtos\210\001\001\240\001\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_yarn_TimelineDelegationTokenIdentifierDataProto_descriptor,
new java.lang.String[] { "TokenIdentifier", "RenewDate", });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy