public static Type 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()]; }
if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_.getNumber());
com.openwallet.core.protos.Protos.Key.Type value = com.openwallet.core.protos.Protos.Key.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue);
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, secretBytes_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, encryptedData_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, publicKey_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getLabelBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, deterministicKey_); } getUnknownFields().writeTo(output); }
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor