title: google.protobuf.message.DecodeError: Wrong wire type in tag Error in Protocol Buffer
body: <p>I trying decrypt my data using google protocol buffer in python</p>
  <p><strong>sample.proto file:-</strong></p>
  <pre><code>syntax = &quot;proto3&quot;;
  
  message SimpleMessage {
  string deviceID = 1;
  string timeStamp = 2;
  string data = 3;
   }
  </code></pre>
  <p>After that, I have generated python files using the proto command:-
  <code>protoc --proto_path=./ --python_out=./ simple.proto</code></p>
  <p><strong>My Python code below:-</strong></p>
  <pre><code>import json
  import simple_pb2
  import base64
  
  
  encryptedData = 'iOjEuMCwic2VxIjoxODEsInRtcyI6IjIwMjEtMDEtMjJUMTQ6MDY6MzJaIiwiZGlkIjoiUlFI'
  
  t2 = bytes(encryptedData, encoding='utf8')
  print(encryptedData)
  data = base64.b64decode(encryptedData)
  
  test = simple_pb2.SimpleMessage()
  v1 =  test.ParseFromString(data)
  </code></pre>
  <p>While executing above code getting error:- <strong>google.protobuf.message.DecodeError: Wrong wire type in tag Error</strong></p>
  <p>What i am doing wrong. can anyone help?</p>