func (x *MemcacheIncrementRequest_Direction) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(MemcacheIncrementRequest_Direction_value, data, "MemcacheIncrementRequest_Direction") if err != nil { return err } *x = MemcacheIncrementRequest_Direction(value) return nil }
func (x *MemcacheIncrementResponse_IncrementStatusCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(MemcacheIncrementResponse_IncrementStatusCode_value, data, "MemcacheIncrementResponse_IncrementStatusCode") if err != nil { return err } *x = MemcacheIncrementResponse_IncrementStatusCode(value) return nil }
func (x *PayloadType) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(PayloadType_value, data, "PayloadType") if err != nil { return err } *x = PayloadType(value) return nil }
func (x *MemcacheSetRequest_SetPolicy) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(MemcacheSetRequest_SetPolicy_value, data, "MemcacheSetRequest_SetPolicy") if err != nil { return err } *x = MemcacheSetRequest_SetPolicy(value) return nil }
func (x *PresenceResponse_SHOW) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(PresenceResponse_SHOW_value, data, "PresenceResponse_SHOW") if err != nil { return err } *x = PresenceResponse_SHOW(value) return nil }
func (x *BlobstoreServiceError_ErrorCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(BlobstoreServiceError_ErrorCode_value, data, "BlobstoreServiceError_ErrorCode") if err != nil { return err } *x = BlobstoreServiceError_ErrorCode(value) return nil }
func (x *ImagesServiceError_ErrorCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(ImagesServiceError_ErrorCode_value, data, "ImagesServiceError_ErrorCode") if err != nil { return err } *x = ImagesServiceError_ErrorCode(value) return nil }
func (x *URLFetchRequest_RequestMethod) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(URLFetchRequest_RequestMethod_value, data, "URLFetchRequest_RequestMethod") if err != nil { return err } *x = URLFetchRequest_RequestMethod(value) return nil }
func (x *OutputSettings_MIME_TYPE) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(OutputSettings_MIME_TYPE_value, data, "OutputSettings_MIME_TYPE") if err != nil { return err } *x = OutputSettings_MIME_TYPE(value) return nil }
func (x *CompositeImageOptions_ANCHOR) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(CompositeImageOptions_ANCHOR_value, data, "CompositeImageOptions_ANCHOR") if err != nil { return err } *x = CompositeImageOptions_ANCHOR(value) return nil }
func (x *InputSettings_ORIENTATION_CORRECTION_TYPE) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(InputSettings_ORIENTATION_CORRECTION_TYPE_value, data, "InputSettings_ORIENTATION_CORRECTION_TYPE") if err != nil { return err } *x = InputSettings_ORIENTATION_CORRECTION_TYPE(value) return nil }
func (x *ImagesServiceTransform_Type) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(ImagesServiceTransform_Type_value, data, "ImagesServiceTransform_Type") if err != nil { return err } *x = ImagesServiceTransform_Type(value) return nil }
func (x *XmppMessageResponse_XmppMessageStatus) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(XmppMessageResponse_XmppMessageStatus_value, data, "XmppMessageResponse_XmppMessageStatus") if err != nil { return err } *x = XmppMessageResponse_XmppMessageStatus(value) return nil }
func (x *MemcacheServiceError_ErrorCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(MemcacheServiceError_ErrorCode_value, data, "MemcacheServiceError_ErrorCode") if err != nil { return err } *x = MemcacheServiceError_ErrorCode(value) return nil }
func (x *IsEnabledResponse_SummaryStatus) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(IsEnabledResponse_SummaryStatus_value, data, "IsEnabledResponse_SummaryStatus") if err != nil { return err } *x = IsEnabledResponse_SummaryStatus(value) return nil }
func (x *AppIdentityServiceError_ErrorCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(AppIdentityServiceError_ErrorCode_value, data, "AppIdentityServiceError_ErrorCode") if err != nil { return err } *x = AppIdentityServiceError_ErrorCode(value) return nil }
func (x *ChannelServiceError_ErrorCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(ChannelServiceError_ErrorCode_value, data, "ChannelServiceError_ErrorCode") if err != nil { return err } *x = ChannelServiceError_ErrorCode(value) return nil }
func (x *URLFetchServiceError_ErrorCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(URLFetchServiceError_ErrorCode_value, data, "URLFetchServiceError_ErrorCode") if err != nil { return err } *x = URLFetchServiceError_ErrorCode(value) return nil }
func (x *RpcError_ErrorCode) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(RpcError_ErrorCode_value, data, "RpcError_ErrorCode") if err != nil { return err } *x = RpcError_ErrorCode(value) return nil }